List Training URLs
Retrieve a paginated list of webpage URLs in your knowledge base. **Permission required:** Training > Read
Retrieve a paginated list of webpage URLs in your knowledge base.
Permission required: Training > Read
Authorization
bearerToken
API token for YourGPT Public APIs. Create tokens in Settings > API Tokens in your YourGPT dashboard.
In: header
Request Body
application/json
Project identifier.
Results per page.
10Page number.
1Sort order.
"DESC""ASC" | "DESC"Search in URL or tags.
Filter by tags (comma-separated).
Filter by status.
Response Body
application/json
application/json
application/json
curl -X POST "https://api.yourgpt.ai/chatbot/v1/getProjectUrl" \ -H "Content-Type: application/json" \ -d '{ "project_uid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }'{
"type": "RXSUCCESS",
"message": "Data Fetched Successfully!",
"total": 5,
"data": [
{
"id": 1001,
"project_id": 12345,
"url": "https://example.com",
"status": "pending",
"tags": null,
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-15T10:30:00.000Z"
}
]
}{
"type": "RXERROR",
"message": "string"
}{
"type": "RXERROR",
"message": "Invalid or expired API token"
}Add Training URL
Add a new webpage URL to your chatbot's knowledge base. The content is crawled and indexed automatically. You can provide multiple URLs separated by commas. **Permission required:** Training > Write
Re-index Training URL
Trigger a re-crawl of a specific URL to ensure your chatbot has the latest content from that page. **Permission required:** Training > Write