TrainingProject URLs

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

POST
/getProjectUrl

Authorization

bearerToken

AuthorizationBearer <token>

API token for YourGPT Public APIs. Create tokens in Settings > API Tokens in your YourGPT dashboard.

In: header

Request Body

application/json

project_uid*string

Project identifier.

limit?integer

Results per page.

Default10
page?integer

Page number.

Default1
orderBy?string

Sort order.

Default"DESC"
Value in"ASC" | "DESC"
search?string

Search in URL or tags.

tags?string

Filter by tags (comma-separated).

status?string

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"
}