1. Submit the document
You can either upload the file directly or point to a URL:2. Poll for the result
An unrecognized or mistyped
task_id doesn’t return a 404, it returns 200 {"status": "PENDING"} just like a real in-progress task. Hold onto the exact ID from the submit response rather than reconstructing it, or you can end up polling a task that will never complete.Other task operations
Related
- Assistant guide: a similar poll-based flow for Q&A instead of reference evaluation
- Errors and rate limits: retry and polling guidance
