Endpoint
Query parameters
Response (processing)
Response (completed)
Status responses omit full OCR text by default. Download the
text result when processing completes, or pass include_text=true when inline text is required.Status values
Failure details
Failed jobs retain the readableerror string and add error_code, error_stage, and retryable. Codes distinguish source download, document validation, engine, and output failures. retryable: false means the input or request needs attention before another attempt; it does not schedule a retry. Older jobs may have unclassified diagnostics.
Response (failed)
failed_chunks contains at most 20 samples with one-based inclusive page ranges. Use chunks_failed and chunk_count for exact totals. New Vision terminal callbacks include the same failure fields as status polling. Submission HTTP errors can carry safe diagnostics in the response’s data object, alongside the original HTTP status. Match failures using error_code, rather than the human-readable error message, which may change. Failed-job responses retain validated identity, timing, and progress fields; they exclude upstream debug fields, traces, source URLs, and result links.
Polling example
Use webhooks for large documents. Set
callback_url when submitting to avoid polling.
