Extract
Create Extract Job
List Extract Jobs
Get Extract Job
Delete Extract Job
Cancel Extract Job
Validate Extraction Schema
Generate Extraction Schema
ModelsExpand Collapse
ExtractConfiguration object { data_schema, advanced_citations, cite_sources, 13 more }
Extract configuration combining parse and extract settings.
advanced_citations: optional boolean
More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.
cite_sources: optional boolean
Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).
confidence_scores: optional boolean
Include confidence scores in results. Returned under extract_metadata (auto-included when set).
effort: optional "max"
Use ‘max’ for additional processing effort on agentic_plus. Priced by the processing each document needs, with the page price as the minimum. Omit or set to null for the tier’s default behavior.
extraction_target: optional "per_doc" or "per_page" or "per_table_row"
Deprecated. Applies only to Agentic and Cost Effective versions 2.0 or earlier. Granularity of extraction: per_doc returns one object per document, per_page returns one object per page, per_table_row returns one object per table row. Agentic Plus supports per_doc only.
parse_config_id: optional string
Saved parse configuration ID to control how the document is parsed before extraction. Turbo extract does not support parse configuration or produce a parse output; use another tier if your workflow requires parsed text.
sheet_names: optional array of string
Optional worksheet names to extract when spreadsheet_mode is on. Overrides target_pages for spreadsheets; omit to extract every sheet. Names are matched exactly (case-sensitive) — pass them as a list, e.g. [“Sheet 1”, “My Sheet”].
spreadsheet_mode: optional boolean
Extract structured data directly from spreadsheet cells (.xlsx/.xls/.csv). Billed at the standard per-page Extract rate, with page count derived from workbook size.
target_pages: optional string
Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.
ExtractJobMetadata object { field_metadata, parse_job_id, parse_tier }
Extraction metadata.
Metadata for extracted fields including document, page, and row level info.
document_metadata: optional map[map[unknown] or array of unknown or string or 2 more]
Per-field metadata keyed by field name from your schema. Scalar fields (e.g. vendor) map to a FieldMetadataEntry with citation and confidence. Array fields (e.g. items) map to a list where each element contains per-sub-field FieldMetadataEntry objects, indexed by array position. Nested objects contain sub-field entries recursively.
ExtractV2Job object { id, created_at, file_input, 10 more }
An extraction job.
status: string
Current job status.
PENDING— queued, not yet startedRUNNING— actively processingCOMPLETED— finished successfullyFAILED— terminated with an errorCANCELLED— cancelled by user
configuration: optional ExtractConfiguration { data_schema, advanced_citations, cite_sources, 13 more }
Extract configuration combining parse and extract settings.
advanced_citations: optional boolean
More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.
cite_sources: optional boolean
Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).
confidence_scores: optional boolean
Include confidence scores in results. Returned under extract_metadata (auto-included when set).
effort: optional "max"
Use ‘max’ for additional processing effort on agentic_plus. Priced by the processing each document needs, with the page price as the minimum. Omit or set to null for the tier’s default behavior.
extraction_target: optional "per_doc" or "per_page" or "per_table_row"
Deprecated. Applies only to Agentic and Cost Effective versions 2.0 or earlier. Granularity of extraction: per_doc returns one object per document, per_page returns one object per page, per_table_row returns one object per table row. Agentic Plus supports per_doc only.
parse_config_id: optional string
Saved parse configuration ID to control how the document is parsed before extraction. Turbo extract does not support parse configuration or produce a parse output; use another tier if your workflow requires parsed text.
sheet_names: optional array of string
Optional worksheet names to extract when spreadsheet_mode is on. Overrides target_pages for spreadsheets; omit to extract every sheet. Names are matched exactly (case-sensitive) — pass them as a list, e.g. [“Sheet 1”, “My Sheet”].
spreadsheet_mode: optional boolean
Extract structured data directly from spreadsheet cells (.xlsx/.xls/.csv). Billed at the standard per-page Extract rate, with page count derived from workbook size.
target_pages: optional string
Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.
Extraction metadata.
Metadata for extracted fields including document, page, and row level info.
document_metadata: optional map[map[unknown] or array of unknown or string or 2 more]
Per-field metadata keyed by field name from your schema. Scalar fields (e.g. vendor) map to a FieldMetadataEntry with citation and confidence. Array fields (e.g. items) map to a list where each element contains per-sub-field FieldMetadataEntry objects, indexed by array position. Nested objects contain sub-field entries recursively.
extract_result: optional map[map[unknown] or array of unknown or string or 2 more] or array of map[map[unknown] or array of unknown or string or 2 more]
Extracted data conforming to the data_schema. Returns a single object for per_doc, or an array for per_page / per_table_row.
ExtractV2JobCreate object { file_input, configuration, configuration_id, 2 more }
Request to create an extraction job. Provide configuration_id or inline configuration.
configuration: optional ExtractConfiguration { data_schema, advanced_citations, cite_sources, 13 more }
Extract configuration combining parse and extract settings.
advanced_citations: optional boolean
More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.
cite_sources: optional boolean
Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).
confidence_scores: optional boolean
Include confidence scores in results. Returned under extract_metadata (auto-included when set).
effort: optional "max"
Use ‘max’ for additional processing effort on agentic_plus. Priced by the processing each document needs, with the page price as the minimum. Omit or set to null for the tier’s default behavior.
extraction_target: optional "per_doc" or "per_page" or "per_table_row"
Deprecated. Applies only to Agentic and Cost Effective versions 2.0 or earlier. Granularity of extraction: per_doc returns one object per document, per_page returns one object per page, per_table_row returns one object per table row. Agentic Plus supports per_doc only.
parse_config_id: optional string
Saved parse configuration ID to control how the document is parsed before extraction. Turbo extract does not support parse configuration or produce a parse output; use another tier if your workflow requires parsed text.
sheet_names: optional array of string
Optional worksheet names to extract when spreadsheet_mode is on. Overrides target_pages for spreadsheets; omit to extract every sheet. Names are matched exactly (case-sensitive) — pass them as a list, e.g. [“Sheet 1”, “My Sheet”].
spreadsheet_mode: optional boolean
Extract structured data directly from spreadsheet cells (.xlsx/.xls/.csv). Billed at the standard per-page Extract rate, with page count derived from workbook size.
target_pages: optional string
Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.
webhook_configuration_ids: optional array of string
IDs of saved webhook configurations to notify for this job.
webhook_configurations: optional array of object { webhook_events, webhook_headers, webhook_output_format, 2 more }
Outbound webhook endpoints to notify on job status changes
webhook_events: optional array of "batch.cancelled" or "batch.error" or "batch.pending" or 36 more
Events to subscribe to (e.g. ‘parse.success’, ‘extract.error’). If null, all events are delivered.
webhook_headers: optional map[string]
Custom HTTP headers sent with each webhook request (e.g. auth tokens)
webhook_output_format: optional string
Response format sent to the webhook: ‘string’ (default) or ‘json’
webhook_signing_secret: optional string
Shared signing secret used to sign webhook deliveries. When set, each request includes an HMAC-SHA256 signature of the request body in the ‘LC-Signature’ header (value ‘sha256=
ExtractV2JobQueryResponse object { items, next_page_token, total_size }
Paginated list of extraction jobs.
The list of items.
status: string
Current job status.
PENDING— queued, not yet startedRUNNING— actively processingCOMPLETED— finished successfullyFAILED— terminated with an errorCANCELLED— cancelled by user
configuration: optional ExtractConfiguration { data_schema, advanced_citations, cite_sources, 13 more }
Extract configuration combining parse and extract settings.
advanced_citations: optional boolean
More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.
cite_sources: optional boolean
Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).
confidence_scores: optional boolean
Include confidence scores in results. Returned under extract_metadata (auto-included when set).
effort: optional "max"
Use ‘max’ for additional processing effort on agentic_plus. Priced by the processing each document needs, with the page price as the minimum. Omit or set to null for the tier’s default behavior.
extraction_target: optional "per_doc" or "per_page" or "per_table_row"
Deprecated. Applies only to Agentic and Cost Effective versions 2.0 or earlier. Granularity of extraction: per_doc returns one object per document, per_page returns one object per page, per_table_row returns one object per table row. Agentic Plus supports per_doc only.
parse_config_id: optional string
Saved parse configuration ID to control how the document is parsed before extraction. Turbo extract does not support parse configuration or produce a parse output; use another tier if your workflow requires parsed text.
sheet_names: optional array of string
Optional worksheet names to extract when spreadsheet_mode is on. Overrides target_pages for spreadsheets; omit to extract every sheet. Names are matched exactly (case-sensitive) — pass them as a list, e.g. [“Sheet 1”, “My Sheet”].
spreadsheet_mode: optional boolean
Extract structured data directly from spreadsheet cells (.xlsx/.xls/.csv). Billed at the standard per-page Extract rate, with page count derived from workbook size.
target_pages: optional string
Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.
Extraction metadata.
Metadata for extracted fields including document, page, and row level info.
document_metadata: optional map[map[unknown] or array of unknown or string or 2 more]
Per-field metadata keyed by field name from your schema. Scalar fields (e.g. vendor) map to a FieldMetadataEntry with citation and confidence. Array fields (e.g. items) map to a list where each element contains per-sub-field FieldMetadataEntry objects, indexed by array position. Nested objects contain sub-field entries recursively.
extract_result: optional map[map[unknown] or array of unknown or string or 2 more] or array of map[map[unknown] or array of unknown or string or 2 more]
Extracted data conforming to the data_schema. Returns a single object for per_doc, or an array for per_page / per_table_row.
ExtractedFieldMetadata object { document_metadata, page_metadata, row_metadata }
Metadata for extracted fields including document, page, and row level info.
document_metadata: optional map[map[unknown] or array of unknown or string or 2 more]
Per-field metadata keyed by field name from your schema. Scalar fields (e.g. vendor) map to a FieldMetadataEntry with citation and confidence. Array fields (e.g. items) map to a list where each element contains per-sub-field FieldMetadataEntry objects, indexed by array position. Nested objects contain sub-field entries recursively.
ExtractReview
Create Extract Review
Get Extract Review
Change Extract Review Fields
Approve Extract Review
Reject Extract Review
Reopen Extract Review
List Extract Review Events
ModelsExpand Collapse
ExtractReview object { id, confidence_threshold, created_at, 16 more }
An extract job’s review: its settings, flags, field actions and decision, with the result as read and as reviewed.
field_actions: map[object { action, actor_id, at, value } ]
The latest action per field, keyed by JSON Pointer.
fields_in_scope: array of string
JSON Pointers of the fields the threshold applies to; empty means all.
flags: array of object { handled, path, reason, 2 more }
source_file_id: string
The file the job read, or the file behind the parse job it read; null for a URL.
ExtractReviewEvent object { id, actor_id, created_at, 5 more }
One entry in a review’s history.
detail: optional object { confidence_threshold, fields_in_scope, origin, required_fields } or object { reason } or object { paths }
The settings for created, the reason for rejected, and the fields for flags_signed_off; null for the rest.