Get Training Status
Check whether your chatbot's knowledge base is currently training or has completed. Returns `training` if any files or URLs are pending/running, otherwise `completed`. **Permission required:** Training > Read
Check whether your chatbot's knowledge base is currently training or has completed. Returns training if any files or URLs are pending/running, otherwise completed.
Permission required: Training > Read
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.
Response Body
application/json
application/json
application/json
curl -X POST "https://api.yourgpt.ai/chatbot/v1/getTrainingStatus" \ -H "Content-Type: application/json" \ -d '{ "project_uid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }'{
"type": "RXSUCCESS",
"message": "Data Fetched Successfully!",
"data": {
"status": "completed"
}
}{
"type": "RXERROR",
"message": "string"
}{
"type": "RXERROR",
"message": "Invalid or expired API token"
}