Extract
List Extract Jobs
Get Extract Job
Delete Extract Job
Cancel Extract Job
Validate Extraction Schema
Generate Extraction Schema
ModelsExpand Collapse
class ExtractConfiguration: …
Extract configuration combining parse and extract settings.
advanced_citations: Optional[bool]
More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.
cite_sources: Optional[bool]
Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).
confidence_scores: Optional[bool]
Include confidence scores in results. Returned under extract_metadata (auto-included when set).
effort: Optional[Literal["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[Literal["per_doc", "per_page", "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[str]
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[List[str]]
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[bool]
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[str]
Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.
class ExtractJobMetadata: …
Extraction metadata.
field_metadata: Optional[ExtractedFieldMetadata]
Metadata for extracted fields including document, page, and row level info.
document_metadata: Optional[Dict[str, Union[Dict[str, object], List[object], str, 3 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.
class ExtractV2Job: …
An extraction job.
status: str
Current job status.
PENDING— queued, not yet startedRUNNING— actively processingCOMPLETED— finished successfullyFAILED— terminated with an errorCANCELLED— cancelled by user
configuration: Optional[ExtractConfiguration]
Extract configuration combining parse and extract settings.
advanced_citations: Optional[bool]
More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.
cite_sources: Optional[bool]
Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).
confidence_scores: Optional[bool]
Include confidence scores in results. Returned under extract_metadata (auto-included when set).
effort: Optional[Literal["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[Literal["per_doc", "per_page", "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[str]
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[List[str]]
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[bool]
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[str]
Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.
extract_metadata: Optional[ExtractJobMetadata]
Extraction metadata.
field_metadata: Optional[ExtractedFieldMetadata]
Metadata for extracted fields including document, page, and row level info.
document_metadata: Optional[Dict[str, Union[Dict[str, object], List[object], str, 3 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[Union[Dict[str, Union[Dict[str, object], List[object], str, 3 more]], List[Dict[str, Union[Dict[str, object], List[object], str, 3 more]]], null]]
Extracted data conforming to the data_schema. Returns a single object for per_doc, or an array for per_page / per_table_row.
class ExtractV2JobCreate: …
Request to create an extraction job. Provide configuration_id or inline configuration.
configuration: Optional[ExtractConfiguration]
Extract configuration combining parse and extract settings.
advanced_citations: Optional[bool]
More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.
cite_sources: Optional[bool]
Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).
confidence_scores: Optional[bool]
Include confidence scores in results. Returned under extract_metadata (auto-included when set).
effort: Optional[Literal["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[Literal["per_doc", "per_page", "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[str]
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[List[str]]
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[bool]
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[str]
Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.
webhook_configuration_ids: Optional[List[str]]
IDs of saved webhook configurations to notify for this job.
webhook_configurations: Optional[List[WebhookConfiguration]]
Outbound webhook endpoints to notify on job status changes
webhook_events: Optional[List[Literal["batch.cancelled", "batch.error", "batch.pending", 36 more]]]
Events to subscribe to (e.g. ‘parse.success’, ‘extract.error’). If null, all events are delivered.
webhook_headers: Optional[Dict[str, str]]
Custom HTTP headers sent with each webhook request (e.g. auth tokens)
webhook_output_format: Optional[str]
Response format sent to the webhook: ‘string’ (default) or ‘json’
webhook_signing_secret: Optional[str]
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=
class ExtractV2JobQueryResponse: …
Paginated list of extraction jobs.
The list of items.
status: str
Current job status.
PENDING— queued, not yet startedRUNNING— actively processingCOMPLETED— finished successfullyFAILED— terminated with an errorCANCELLED— cancelled by user
configuration: Optional[ExtractConfiguration]
Extract configuration combining parse and extract settings.
advanced_citations: Optional[bool]
More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.
cite_sources: Optional[bool]
Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).
confidence_scores: Optional[bool]
Include confidence scores in results. Returned under extract_metadata (auto-included when set).
effort: Optional[Literal["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[Literal["per_doc", "per_page", "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[str]
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[List[str]]
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[bool]
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[str]
Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.
extract_metadata: Optional[ExtractJobMetadata]
Extraction metadata.
field_metadata: Optional[ExtractedFieldMetadata]
Metadata for extracted fields including document, page, and row level info.
document_metadata: Optional[Dict[str, Union[Dict[str, object], List[object], str, 3 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[Union[Dict[str, Union[Dict[str, object], List[object], str, 3 more]], List[Dict[str, Union[Dict[str, object], List[object], str, 3 more]]], null]]
Extracted data conforming to the data_schema. Returns a single object for per_doc, or an array for per_page / per_table_row.
class ExtractedFieldMetadata: …
Metadata for extracted fields including document, page, and row level info.
document_metadata: Optional[Dict[str, Union[Dict[str, object], List[object], str, 3 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
class ExtractReview: …
An extract job’s review: its settings, flags, field actions and decision, with the result as read and as reviewed.
flags: List[Flag]
source_file_id: Optional[str]
The file the job read, or the file behind the parse job it read; null for a URL.
class ExtractReviewEvent: …
One entry in a review’s history.
detail: Optional[Detail]
The settings for created, the reason for rejected, and the fields for flags_signed_off; null for the rest.