Get a queued Vision API task
vision_get_taskRetrieve the status and final result of a previously queued image or PDF analysis task using its task ID. Confirms whether a task is still processing or finished, returning transcription data without extra charges.
Instructions
Status, and once finished the result, of a queued task.
Free — no credits consumed. The result was already paid for when the task was submitted.
Call this with the id from a call that was queued — either one you made with mode:"async", or one where polling ran out of time and the answer told you to come back. A task that is still "queued" or "processing" has NOT failed; it is working, and re-submitting the file would be a second charge for the same work.
Results are kept for 7 days. After that only the metadata survives and the file has to be sent again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | markdown (default) — compact, readable, absent fields summarised rather than repeated. compact_json — the same information as data, with _not_found and _low_confidence arrays, for when you will parse it. json — the API response verbatim; use it when you are writing HTTP code against the contract. | markdown |
| task_id | Yes | The id returned when a call was queued. | |
| max_chars | No | Ceiling on transcription text in the response. Raise it only if you truly need more than 20 000 characters. |