Extract
Create Extract Job
List Extract Jobs
Get Extract Job
Delete Extract Job
Validate Extraction Schema
Generate Extraction Schema
ModelsExpand Collapse
ExtractConfiguration { data_schema, cite_sources, confidence_scores, 8 more }
Extract configuration combining parse and extract settings.
extract_version?: 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?: string | null
Saved parse configuration ID to control how the document is parsed before extraction
parse_tier?: string | null
Parse tier to use before extraction. Defaults to the extract tier if not specified.
ExtractJobMetadata { field_metadata, parse_job_id, parse_tier }
Extraction metadata.
Metadata for extracted fields including document, page, and row level info.
document_metadata?: Record<string, Record<string, unknown> | Array<unknown> | string | 2 more | null> | null
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 { 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?: ExtractConfiguration { data_schema, cite_sources, confidence_scores, 8 more } | null
Extract configuration combining parse and extract settings.
extract_version?: 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?: string | null
Saved parse configuration ID to control how the document is parsed before extraction
parse_tier?: string | null
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?: Record<string, Record<string, unknown> | Array<unknown> | string | 2 more | null> | null
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?: Record<string, Record<string, unknown> | Array<unknown> | string | 2 more | null> | Array<Record<string, Record<string, unknown> | Array<unknown> | string | 2 more | null>> | null
Extracted data conforming to the data_schema. Returns a single object for per_doc, or an array for per_page / per_table_row.
ExtractV2JobCreate { file_input, configuration, configuration_id, webhook_configurations }
Request to create an extraction job. Provide configuration_id or inline configuration.
configuration?: ExtractConfiguration { data_schema, cite_sources, confidence_scores, 8 more } | null
Extract configuration combining parse and extract settings.
extract_version?: 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?: string | null
Saved parse configuration ID to control how the document is parsed before extraction
parse_tier?: string | null
Parse tier to use before extraction. Defaults to the extract tier if not specified.
webhook_configurations?: Array<WebhookConfiguration> | null
Outbound webhook endpoints to notify on job status changes
webhook_events?: Array<"extract.pending" | "extract.success" | "extract.error" | 14 more> | null
Events to subscribe to (e.g. ‘parse.success’, ‘extract.error’). If null, all events are delivered.
webhook_headers?: Record<string, string> | null
Custom HTTP headers sent with each webhook request (e.g. auth tokens)
ExtractV2JobQueryResponse { 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?: ExtractConfiguration { data_schema, cite_sources, confidence_scores, 8 more } | null
Extract configuration combining parse and extract settings.
extract_version?: 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?: string | null
Saved parse configuration ID to control how the document is parsed before extraction
parse_tier?: string | null
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?: Record<string, Record<string, unknown> | Array<unknown> | string | 2 more | null> | null
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?: Record<string, Record<string, unknown> | Array<unknown> | string | 2 more | null> | Array<Record<string, Record<string, unknown> | Array<unknown> | string | 2 more | null>> | null
Extracted data conforming to the data_schema. Returns a single object for per_doc, or an array for per_page / per_table_row.
ExtractedFieldMetadata { document_metadata, page_metadata, row_metadata }
Metadata for extracted fields including document, page, and row level info.
document_metadata?: Record<string, Record<string, unknown> | Array<unknown> | string | 2 more | null> | null
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.