Documentation Index
Fetch the complete documentation index at: https://docs.docex.dev/llms.txt
Use this file to discover all available pages before exploring further.
Runs
The /v1/runs endpoints are the core of the Docex API. Create a run with an upload ID and prompt, poll for completion, and receive a structured envelope.
The legacy
/v1/extractions endpoints redirect to /v1/runs automatically for backward compatibility.Create a run
Headers
Your Docex API key.
Must be
application/json.Body
The upload ID returned from
POST /v1/uploads/presign.Plain-English description of the analysis task. Example:
"company name, number, expiry".Either
json (default) or text.Reference to a built-in registry schema. Use instead of inline
schema.Inline custom schema with
label, expectedFields, and promptScaffold.Named workflow policy to apply.
Arbitrary key-value pairs attached to the job record.
Explicitly confirm a job whose estimated cost exceeds the confirmation threshold.
Abort the job if the estimated cost exceeds this budget.
Response
Get a run
status is completed or failed.
Response (completed)
Response (failed)
Verify a run
Body
Mark the result as accepted.
Key-value pairs of corrected fields.