Extract
List Extract Jobs
Get Extract Job
Delete Extract Job
Cancel Extract Job
Validate Extraction Schema
Generate Extraction Schema
ModelsExpand Collapse
type ExtractConfiguration struct{…}
Extract configuration combining parse and extract settings.
AdvancedCitations boolOptional
More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.
CiteSources boolOptional
Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).
ConfidenceScores boolOptional
Include confidence scores in results. Returned under extract_metadata (auto-included when set).
Effort ExtractConfigurationEffortOptional
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.
ExtractionTarget ExtractConfigurationExtractionTargetOptional
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.
ParseConfigID stringOptional
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.
ParseTier ExtractConfigurationParseTierOptional
Parse tier to use before extraction. Defaults to the extract tier if not specified. Turbo extract does not support parse configuration or produce a parse output; use another tier if your workflow requires parsed text.
SheetNames []stringOptional
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”].
SpreadsheetMode boolOptional
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.
TargetPages stringOptional
Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.
type ExtractJobMetadata struct{…}
Extraction metadata.
Metadata for extracted fields including document, page, and row level info.
DocumentMetadata map[string, *ExtractedFieldMetadataDocumentMetadataUnion]Optional
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.
type ExtractV2Job struct{…}
An extraction job.
Status string
Current job status.
PENDING— queued, not yet startedRUNNING— actively processingCOMPLETED— finished successfullyFAILED— terminated with an errorCANCELLED— cancelled by user
Extract configuration combining parse and extract settings.
AdvancedCitations boolOptional
More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.
CiteSources boolOptional
Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).
ConfidenceScores boolOptional
Include confidence scores in results. Returned under extract_metadata (auto-included when set).
Effort ExtractConfigurationEffortOptional
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.
ExtractionTarget ExtractConfigurationExtractionTargetOptional
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.
ParseConfigID stringOptional
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.
ParseTier ExtractConfigurationParseTierOptional
Parse tier to use before extraction. Defaults to the extract tier if not specified. Turbo extract does not support parse configuration or produce a parse output; use another tier if your workflow requires parsed text.
SheetNames []stringOptional
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”].
SpreadsheetMode boolOptional
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.
TargetPages stringOptional
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.
DocumentMetadata map[string, *ExtractedFieldMetadataDocumentMetadataUnion]Optional
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.
ExtractResult ExtractV2JobExtractResultUnionOptional
type ExtractV2JobCreate struct{…}
Request to create an extraction job. Provide configuration_id or inline configuration.
Extract configuration combining parse and extract settings.
AdvancedCitations boolOptional
More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.
CiteSources boolOptional
Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).
ConfidenceScores boolOptional
Include confidence scores in results. Returned under extract_metadata (auto-included when set).
Effort ExtractConfigurationEffortOptional
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.
ExtractionTarget ExtractConfigurationExtractionTargetOptional
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.
ParseConfigID stringOptional
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.
ParseTier ExtractConfigurationParseTierOptional
Parse tier to use before extraction. Defaults to the extract tier if not specified. Turbo extract does not support parse configuration or produce a parse output; use another tier if your workflow requires parsed text.
SheetNames []stringOptional
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”].
SpreadsheetMode boolOptional
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.
TargetPages stringOptional
Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.
WebhookConfigurations []ExtractV2JobCreateWebhookConfigurationOptional
Outbound webhook endpoints to notify on job status changes
WebhookEvents []stringOptional
Events to subscribe to (e.g. ‘parse.success’, ‘extract.error’). If null, all events are delivered.
WebhookHeaders map[string, string]Optional
Custom HTTP headers sent with each webhook request (e.g. auth tokens)
WebhookSigningSecret stringOptional
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=
type ExtractV2JobQueryResponse struct{…}
Paginated list of extraction jobs.
Items []ExtractV2Job
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
Extract configuration combining parse and extract settings.
AdvancedCitations boolOptional
More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.
CiteSources boolOptional
Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).
ConfidenceScores boolOptional
Include confidence scores in results. Returned under extract_metadata (auto-included when set).
Effort ExtractConfigurationEffortOptional
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.
ExtractionTarget ExtractConfigurationExtractionTargetOptional
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.
ParseConfigID stringOptional
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.
ParseTier ExtractConfigurationParseTierOptional
Parse tier to use before extraction. Defaults to the extract tier if not specified. Turbo extract does not support parse configuration or produce a parse output; use another tier if your workflow requires parsed text.
SheetNames []stringOptional
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”].
SpreadsheetMode boolOptional
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.
TargetPages stringOptional
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.
DocumentMetadata map[string, *ExtractedFieldMetadataDocumentMetadataUnion]Optional
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.
ExtractResult ExtractV2JobExtractResultUnionOptional
type ExtractedFieldMetadata struct{…}
Metadata for extracted fields including document, page, and row level info.
DocumentMetadata map[string, *ExtractedFieldMetadataDocumentMetadataUnion]Optional
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
type ExtractReview struct{…}
An extract job’s review: its settings, flags, field actions and decision, with the result as read and as reviewed.
type ExtractReviewEvent struct{…}
One entry in a review’s history.
Detail ExtractReviewEventDetailUnionOptional
The settings for created, the reason for rejected, and the fields for flags_signed_off; null for the rest.
type ExtractReviewEventDetailExtractReviewCreatedDetail struct{…}
What a created entry records: where review was turned on, and its settings.
Origin string
Turned on as the job ran, from History, by a first edit, by the API, or by the configuration’s review policy as the job completed.