Extract
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The JSON schema to use for extraction.
The URL of the document to be processed. You can provide one of the following:
- A publicly available URL
- A presigned S3 URL
- A reducto:// prefixed URL obtained from the /upload endpoint after directly uploading a document
- A job_id (jobid://) or a list of job_ids (jobid://) obtained from a previous /parse endpoint
A system prompt to use for the extraction. This is a general prompt that is applied to the entire document before any other prompts.
If True, use Deep Extract, an agentic extraction mode that iteratively refines its output to achieve near-perfect accuracy. Best for complex documents where accuracy is critical.
Force the endpoint result to be returned in URL form.
If citations should be generated for the extracted content.
Deprecated: prefer deep_extract, which supersedes array extraction for complex and long (array-heavy) extractions via an agentic loop (at higher cost and latency). The configuration options for array extract.
If chunking should be used for the extraction. Defaults to False.
If images should be passed directly for extractions. Can only be enabled for documents with less than 10 pages. Defaults to False.
If spreadsheet agent should be used for extraction.
If table citations should be generated for the extracted content.
If True, attempts to process the job with priority if the user has priority processing budget available; by default, sync jobs are prioritized above async jobs.
The configuration options for citations.
The configuration options for agent extract
Response
Successful Response
- ExtractResponse
- V3ExtractResponse
The extracted response in your provided schema. This is a list of dictionaries. If disable_chunking is True (default), then it will be a list of length one. If force_url_result is True, this is returned as a URL result.
The citations corresponding to the extracted response. If force_url_result is True and citations are present, this is returned as a URL result.
"extract"The link to the studio pipeline for the document.
Optional deep extract confidence metadata containing document-level confidence plus a mirrored leaf-level confidence tree.