TrainingProject URLs

Bulk Re-index Training URLs

Trigger a re-crawl for multiple URLs at once. **Permission required:** Training > Write

Trigger a re-crawl for multiple URLs at once.

Permission required: Training > Write

POST
/bulkReIndexUrl

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.

ids*string

Comma-separated URL IDs to re-index.

Response Body

application/json

application/json

application/json

curl -X POST "https://api.yourgpt.ai/chatbot/v1/bulkReIndexUrl" \  -H "Content-Type: application/json" \  -d '{    "project_uid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",    "ids": "1,2,3"  }'
{
  "type": "RXSUCCESS",
  "message": "Project URL updated successfully"
}
{
  "type": "RXERROR",
  "message": "Some id don't have projectUrl"
}
{
  "type": "RXERROR",
  "message": "Invalid or expired API token"
}