/knowledge_status/{job_id} endpoint allows you to check the status of a knowledge upload job.
Base URL
Authentication
Path Parameters
The job ID for the knowledge upload, returned from the store_knowledge endpoint
Example Requests
Response
Success Response
Current status of the knowledge upload job, can be:
completed, processing or failedHuman-readable status message
Error Response
Array of validation errors
Status Codes
Best Practices
-
Job ID Management
- Store job IDs returned from store_knowledge endpoint
- Implement retry logic for failed status checks
- Consider implementing a timeout for long-running jobs
-
Status Monitoring
- Check status periodically for long-running jobs
- Implement exponential backoff for status checks
- Handle all possible status values appropriately
-
Error Handling
- Handle 404 errors for invalid job IDs
- Implement proper retry logic
- Log status check failures for debugging
Authorizations
Path Parameters
Response
Successful Response
The response is of type object.
