Extract
Create Extract Job
List Extract Jobs
Get Extract Job
Delete Extract Job
Validate Extraction Schema
Generate Extraction Schema
ModelsExpand Collapse
ExtractConfiguration = object { data_schema, cite_sources, confidence_scores, 8 more }
Extract configuration combining parse and extract settings.
extract_version: optional string
Extract algorithm version. Use ‘latest’ for the default pipeline, a date string (e.g. ‘2026-01-08’), or ‘continuous’ to opt into schema-guided splitting for documents with repeating entities.
parse_config_id: optional string
Saved parse configuration ID to control how the document is parsed before extraction
parse_tier: optional string
Parse tier to use before extraction. Defaults to the extract tier if not specified.
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, 9 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, cite_sources, confidence_scores, 8 more }
Extract configuration combining parse and extract settings.
extract_version: optional string
Extract algorithm version. Use ‘latest’ for the default pipeline, a date string (e.g. ‘2026-01-08’), or ‘continuous’ to opt into schema-guided splitting for documents with repeating entities.
parse_config_id: optional string
Saved parse configuration ID to control how the document is parsed before extraction
parse_tier: optional string
Parse tier to use before extraction. Defaults to the extract tier if not specified.
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, webhook_configurations }
Request to create an extraction job. Provide configuration_id or inline configuration.
configuration: optional ExtractConfiguration { data_schema, cite_sources, confidence_scores, 8 more }
Extract configuration combining parse and extract settings.
extract_version: optional string
Extract algorithm version. Use ‘latest’ for the default pipeline, a date string (e.g. ‘2026-01-08’), or ‘continuous’ to opt into schema-guided splitting for documents with repeating entities.
parse_config_id: optional string
Saved parse configuration ID to control how the document is parsed before extraction
parse_tier: optional string
Parse tier to use before extraction. Defaults to the extract tier if not specified.
webhook_configurations: optional array of object { webhook_events, webhook_headers, webhook_output_format, webhook_url }
Outbound webhook endpoints to notify on job status changes
webhook_events: optional array of "extract.pending" or "extract.success" or "extract.error" or 14 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)
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, cite_sources, confidence_scores, 8 more }
Extract configuration combining parse and extract settings.
extract_version: optional string
Extract algorithm version. Use ‘latest’ for the default pipeline, a date string (e.g. ‘2026-01-08’), or ‘continuous’ to opt into schema-guided splitting for documents with repeating entities.
parse_config_id: optional string
Saved parse configuration ID to control how the document is parsed before extraction
parse_tier: optional string
Parse tier to use before extraction. Defaults to the extract tier if not specified.
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.