Extract
List Extract Jobs
Get Extract Job
Delete Extract Job
Validate Extraction Schema
Generate Extraction Schema
ModelsExpand Collapse
class ExtractConfiguration: …
Extract configuration combining parse and extract settings.
parse_config_id: Optional[str]
Saved parse configuration ID to control how the document is parsed before extraction
parse_tier: Optional[str]
Parse tier to use before extraction. Defaults to the extract tier if not specified.
target_pages: Optional[str]
Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.
version: Optional[str]
Use ‘latest’ for the latest release for the selected tier or a date string (YYYY-MM-DD format) to pin to the nearest release at or before that date. Job responses always report the concrete resolved version the job runs, fixed at job creation; saved configurations keep the value as provided.
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.
parse_config_id: Optional[str]
Saved parse configuration ID to control how the document is parsed before extraction
parse_tier: Optional[str]
Parse tier to use before extraction. Defaults to the extract tier if not specified.
target_pages: Optional[str]
Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.
version: Optional[str]
Use ‘latest’ for the latest release for the selected tier or a date string (YYYY-MM-DD format) to pin to the nearest release at or before that date. Job responses always report the concrete resolved version the job runs, fixed at job creation; saved configurations keep the value as provided.
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.
class ExtractV2JobCreate: …
Request to create an extraction job. Provide configuration_id or inline configuration.
configuration: Optional[ExtractConfiguration]
Extract configuration combining parse and extract settings.
parse_config_id: Optional[str]
Saved parse configuration ID to control how the document is parsed before extraction
parse_tier: Optional[str]
Parse tier to use before extraction. Defaults to the extract tier if not specified.
target_pages: Optional[str]
Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.
version: Optional[str]
Use ‘latest’ for the latest release for the selected tier or a date string (YYYY-MM-DD format) to pin to the nearest release at or before that date. Job responses always report the concrete resolved version the job runs, fixed at job creation; saved configurations keep the value as provided.
webhook_configurations: Optional[List[WebhookConfiguration]]
Outbound webhook endpoints to notify on job status changes
webhook_events: Optional[List[Literal["extract.pending", "extract.success", "extract.error", 25 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.
parse_config_id: Optional[str]
Saved parse configuration ID to control how the document is parsed before extraction
parse_tier: Optional[str]
Parse tier to use before extraction. Defaults to the extract tier if not specified.
target_pages: Optional[str]
Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.
version: Optional[str]
Use ‘latest’ for the latest release for the selected tier or a date string (YYYY-MM-DD format) to pin to the nearest release at or before that date. Job responses always report the concrete resolved version the job runs, fixed at job creation; saved configurations keep the value as provided.
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.
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.