Skip to content

Extract

Create Extract Job
extract.create(ExtractCreateParams**kwargs) -> ExtractV2Job
POST/api/v2/extract
List Extract Jobs
extract.list(ExtractListParams**kwargs) -> SyncPaginatedCursor[ExtractV2Job]
GET/api/v2/extract
Get Extract Job
extract.get(strjob_id, ExtractGetParams**kwargs) -> ExtractV2Job
GET/api/v2/extract/{job_id}
Delete Extract Job
extract.delete(strjob_id, ExtractDeleteParams**kwargs) -> object
DELETE/api/v2/extract/{job_id}
Cancel Extract Job
extract.cancel(strjob_id, ExtractCancelParams**kwargs) -> ExtractV2Job
POST/api/v2/extract/{job_id}/cancel
Validate Extraction Schema
extract.validate_schema(ExtractValidateSchemaParams**kwargs) -> ExtractV2SchemaValidateResponse
POST/api/v2/extract/schema/validation
Generate Extraction Schema
extract.generate_schema(ExtractGenerateSchemaParams**kwargs) -> ConfigurationCreate
POST/api/v2/extract/schema/generate
ModelsExpand Collapse
class ExtractConfiguration: …

Extract configuration combining parse and extract settings.

data_schema: Dict[str, Union[Dict[str, object], List[object], str, 3 more]]

JSON Schema defining the fields to extract. Validate with the /schema/validate endpoint first.

One of the following:
Dict[str, object]
List[object]
str
float
bool
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).

disable_cache: Optional[bool]

Disable reuse and storage of Extract results

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.

One of the following:
"per_doc"
"per_page"
"per_table_row"
max_pages: Optional[int]

Maximum number of pages to process. Omit for no limit.

minimum1
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.

parse_tier: Optional[Literal["agentic", "agentic_plus", "cost_effective", "fast"]]

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.

One of the following:
"agentic"
"agentic_plus"
"cost_effective"
"fast"
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.

system_prompt: Optional[str]

Custom system prompt to guide extraction behavior

target_pages: Optional[str]

Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.

tier: Optional[Literal["agentic", "agentic_plus", "cost_effective", "turbo"]]

Extract tier: cost_effective (5 credits/page), agentic (15 credits/page), agentic_plus (50 credits/page), or turbo (35 credits/page)

One of the following:
"agentic"
"agentic_plus"
"cost_effective"
"turbo"
version: Optional[str]

Extract version name, such as ‘2.5’. Use ‘latest’ for the newest compatible release for the selected tier. Dates (YYYY-MM-DD) are also supported, which will use the latest version on or before the specified date.

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.

One of the following:
Dict[str, object]
List[object]
str
float
bool
page_metadata: Optional[List[Dict[str, Union[Dict[str, object], List[object], str, 3 more]]]]

Per-page metadata when extraction_target is per_page

One of the following:
Dict[str, object]
List[object]
str
float
bool
row_metadata: Optional[List[Dict[str, Union[Dict[str, object], List[object], str, 3 more]]]]

Per-row metadata when extraction_target is per_table_row

One of the following:
Dict[str, object]
List[object]
str
float
bool
parse_job_id: Optional[str]

Reference to the ParseJob ID used for parsing

parse_tier: Optional[str]

Parse tier used for parsing the document

class ExtractJobUsage: …

Extraction usage metrics.

num_pages_billed: Optional[int]

Number of effective pages billed

num_pages_extracted: Optional[int]

Number of pages extracted

class ExtractV2Job: …

An extraction job.

id: str

Unique job identifier (job_id)

created_at: datetime

Creation timestamp

formatdate-time
file_input: str

File ID or parse job ID that was extracted

project_id: str

Project this job belongs to

status: str

Current job status.

  • PENDING — queued, not yet started
  • RUNNING — actively processing
  • COMPLETED — finished successfully
  • FAILED — terminated with an error
  • CANCELLED — cancelled by user
updated_at: datetime

Last update timestamp

formatdate-time
configuration: Optional[ExtractConfiguration]

Extract configuration combining parse and extract settings.

data_schema: Dict[str, Union[Dict[str, object], List[object], str, 3 more]]

JSON Schema defining the fields to extract. Validate with the /schema/validate endpoint first.

One of the following:
Dict[str, object]
List[object]
str
float
bool
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).

disable_cache: Optional[bool]

Disable reuse and storage of Extract results

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.

One of the following:
"per_doc"
"per_page"
"per_table_row"
max_pages: Optional[int]

Maximum number of pages to process. Omit for no limit.

minimum1
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.

parse_tier: Optional[Literal["agentic", "agentic_plus", "cost_effective", "fast"]]

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.

One of the following:
"agentic"
"agentic_plus"
"cost_effective"
"fast"
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.

system_prompt: Optional[str]

Custom system prompt to guide extraction behavior

target_pages: Optional[str]

Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.

tier: Optional[Literal["agentic", "agentic_plus", "cost_effective", "turbo"]]

Extract tier: cost_effective (5 credits/page), agentic (15 credits/page), agentic_plus (50 credits/page), or turbo (35 credits/page)

One of the following:
"agentic"
"agentic_plus"
"cost_effective"
"turbo"
version: Optional[str]

Extract version name, such as ‘2.5’. Use ‘latest’ for the newest compatible release for the selected tier. Dates (YYYY-MM-DD) are also supported, which will use the latest version on or before the specified date.

configuration_id: Optional[str]

Saved extract configuration ID used for this job, if any

error_message: Optional[str]

Error details when status is FAILED

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.

One of the following:
Dict[str, object]
List[object]
str
float
bool
page_metadata: Optional[List[Dict[str, Union[Dict[str, object], List[object], str, 3 more]]]]

Per-page metadata when extraction_target is per_page

One of the following:
Dict[str, object]
List[object]
str
float
bool
row_metadata: Optional[List[Dict[str, Union[Dict[str, object], List[object], str, 3 more]]]]

Per-row metadata when extraction_target is per_table_row

One of the following:
Dict[str, object]
List[object]
str
float
bool
parse_job_id: Optional[str]

Reference to the ParseJob ID used for parsing

parse_tier: Optional[str]

Parse tier used for parsing the document

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.

One of the following:
Dict[str, Union[Dict[str, object], List[object], str, 3 more]]
One of the following:
Dict[str, object]
List[object]
str
float
bool
List[Dict[str, Union[Dict[str, object], List[object], str, 3 more]]]
One of the following:
Dict[str, object]
List[object]
str
float
bool
metadata: Optional[Metadata]

Job-level metadata.

usage: Optional[ExtractJobUsage]

Extraction usage metrics.

num_pages_billed: Optional[int]

Number of effective pages billed

num_pages_extracted: Optional[int]

Number of pages extracted

usage: Optional[Usage]

Usage recorded against an extract job.

A parse job can back several extract jobs, so each of them reports that same parse cost in its total.

credits: Optional[float]

Total credits billed against this job. Null until billing has recorded it.

extract_credits: Optional[float]

Credits billed for the extraction itself

parse_credits: Optional[float]

Credits billed against the parse job backing this extract job

class ExtractV2JobCreate: …

Request to create an extraction job. Provide configuration_id or inline configuration.

file_input: str

File ID or parse job ID to extract from

maxLength200
configuration: Optional[ExtractConfiguration]

Extract configuration combining parse and extract settings.

data_schema: Dict[str, Union[Dict[str, object], List[object], str, 3 more]]

JSON Schema defining the fields to extract. Validate with the /schema/validate endpoint first.

One of the following:
Dict[str, object]
List[object]
str
float
bool
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).

disable_cache: Optional[bool]

Disable reuse and storage of Extract results

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.

One of the following:
"per_doc"
"per_page"
"per_table_row"
max_pages: Optional[int]

Maximum number of pages to process. Omit for no limit.

minimum1
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.

parse_tier: Optional[Literal["agentic", "agentic_plus", "cost_effective", "fast"]]

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.

One of the following:
"agentic"
"agentic_plus"
"cost_effective"
"fast"
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.

system_prompt: Optional[str]

Custom system prompt to guide extraction behavior

target_pages: Optional[str]

Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.

tier: Optional[Literal["agentic", "agentic_plus", "cost_effective", "turbo"]]

Extract tier: cost_effective (5 credits/page), agentic (15 credits/page), agentic_plus (50 credits/page), or turbo (35 credits/page)

One of the following:
"agentic"
"agentic_plus"
"cost_effective"
"turbo"
version: Optional[str]

Extract version name, such as ‘2.5’. Use ‘latest’ for the newest compatible release for the selected tier. Dates (YYYY-MM-DD) are also supported, which will use the latest version on or before the specified date.

configuration_id: Optional[str]

Saved configuration ID

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.

One of the following:
"batch.cancelled"
"batch.error"
"batch.pending"
"batch.running"
"batch.success"
"classify.cancelled"
"classify.error"
"classify.partial_success"
"classify.pending"
"classify.running"
"classify.success"
"extract.cancelled"
"extract.error"
"extract.partial_success"
"extract.pending"
"extract.running"
"extract.success"
"parse.cancelled"
"parse.error"
"parse.partial_success"
"parse.pending"
"parse.running"
"parse.success"
"sheets.cancelled"
"sheets.error"
"sheets.partial_success"
"sheets.pending"
"sheets.success"
"split.cancelled"
"split.error"
"split.pending"
"split.processing"
"split.success"
"unmapped_event"
"verify.cancelled"
"verify.error"
"verify.pending"
"verify.running"
"verify.success"
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=’). Recompute the HMAC over the raw request body with this secret to verify the delivery is authentic.

webhook_url: Optional[str]

URL to receive webhook POST notifications

class ExtractV2JobQueryResponse: …

Paginated list of extraction jobs.

items: List[ExtractV2Job]

The list of items.

id: str

Unique job identifier (job_id)

created_at: datetime

Creation timestamp

formatdate-time
file_input: str

File ID or parse job ID that was extracted

project_id: str

Project this job belongs to

status: str

Current job status.

  • PENDING — queued, not yet started
  • RUNNING — actively processing
  • COMPLETED — finished successfully
  • FAILED — terminated with an error
  • CANCELLED — cancelled by user
updated_at: datetime

Last update timestamp

formatdate-time
configuration: Optional[ExtractConfiguration]

Extract configuration combining parse and extract settings.

data_schema: Dict[str, Union[Dict[str, object], List[object], str, 3 more]]

JSON Schema defining the fields to extract. Validate with the /schema/validate endpoint first.

One of the following:
Dict[str, object]
List[object]
str
float
bool
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).

disable_cache: Optional[bool]

Disable reuse and storage of Extract results

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.

One of the following:
"per_doc"
"per_page"
"per_table_row"
max_pages: Optional[int]

Maximum number of pages to process. Omit for no limit.

minimum1
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.

parse_tier: Optional[Literal["agentic", "agentic_plus", "cost_effective", "fast"]]

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.

One of the following:
"agentic"
"agentic_plus"
"cost_effective"
"fast"
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.

system_prompt: Optional[str]

Custom system prompt to guide extraction behavior

target_pages: Optional[str]

Comma-separated page numbers or ranges to process (1-based). Omit to process all pages.

tier: Optional[Literal["agentic", "agentic_plus", "cost_effective", "turbo"]]

Extract tier: cost_effective (5 credits/page), agentic (15 credits/page), agentic_plus (50 credits/page), or turbo (35 credits/page)

One of the following:
"agentic"
"agentic_plus"
"cost_effective"
"turbo"
version: Optional[str]

Extract version name, such as ‘2.5’. Use ‘latest’ for the newest compatible release for the selected tier. Dates (YYYY-MM-DD) are also supported, which will use the latest version on or before the specified date.

configuration_id: Optional[str]

Saved extract configuration ID used for this job, if any

error_message: Optional[str]

Error details when status is FAILED

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.

One of the following:
Dict[str, object]
List[object]
str
float
bool
page_metadata: Optional[List[Dict[str, Union[Dict[str, object], List[object], str, 3 more]]]]

Per-page metadata when extraction_target is per_page

One of the following:
Dict[str, object]
List[object]
str
float
bool
row_metadata: Optional[List[Dict[str, Union[Dict[str, object], List[object], str, 3 more]]]]

Per-row metadata when extraction_target is per_table_row

One of the following:
Dict[str, object]
List[object]
str
float
bool
parse_job_id: Optional[str]

Reference to the ParseJob ID used for parsing

parse_tier: Optional[str]

Parse tier used for parsing the document

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.

One of the following:
Dict[str, Union[Dict[str, object], List[object], str, 3 more]]
One of the following:
Dict[str, object]
List[object]
str
float
bool
List[Dict[str, Union[Dict[str, object], List[object], str, 3 more]]]
One of the following:
Dict[str, object]
List[object]
str
float
bool
metadata: Optional[Metadata]

Job-level metadata.

usage: Optional[ExtractJobUsage]

Extraction usage metrics.

num_pages_billed: Optional[int]

Number of effective pages billed

num_pages_extracted: Optional[int]

Number of pages extracted

usage: Optional[Usage]

Usage recorded against an extract job.

A parse job can back several extract jobs, so each of them reports that same parse cost in its total.

credits: Optional[float]

Total credits billed against this job. Null until billing has recorded it.

extract_credits: Optional[float]

Credits billed for the extraction itself

parse_credits: Optional[float]

Credits billed against the parse job backing this extract job

next_page_token: Optional[str]

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

total_size: Optional[int]

The total number of items available. This is only populated when specifically requested. The value may be an estimate and can be used for display purposes only.

class ExtractV2SchemaGenerateRequest: …

Request schema for generating an extraction schema.

data_schema: Optional[Dict[str, Union[Dict[str, object], List[object], str, 3 more]]]

Optional schema to validate, refine, or extend

One of the following:
Dict[str, object]
List[object]
str
float
bool
file_id: Optional[str]

Optional file ID to analyze for schema generation

name: Optional[str]

Name for the generated configuration (auto-generated if omitted)

maxLength255
prompt: Optional[str]

Natural language description of the data structure to extract

class ExtractV2SchemaValidateRequest: …

Request schema for validating an extraction schema.

data_schema: Dict[str, Union[Dict[str, object], List[object], str, 3 more]]

JSON Schema to validate for use with extract jobs

One of the following:
Dict[str, object]
List[object]
str
float
bool
class ExtractV2SchemaValidateResponse: …

Response schema for schema validation.

data_schema: Dict[str, Union[Dict[str, object], List[object], str, 3 more]]

Validated JSON Schema, ready for use in extract jobs

One of the following:
Dict[str, object]
List[object]
str
float
bool
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.

One of the following:
Dict[str, object]
List[object]
str
float
bool
page_metadata: Optional[List[Dict[str, Union[Dict[str, object], List[object], str, 3 more]]]]

Per-page metadata when extraction_target is per_page

One of the following:
Dict[str, object]
List[object]
str
float
bool
row_metadata: Optional[List[Dict[str, Union[Dict[str, object], List[object], str, 3 more]]]]

Per-row metadata when extraction_target is per_table_row

One of the following:
Dict[str, object]
List[object]
str
float
bool

ExtractReview

Create Extract Review
extract.review.create(strjob_id, ReviewCreateParams**kwargs) -> ExtractReview
POST/api/v2/extract/{job_id}/review
Get Extract Review
extract.review.get(strjob_id, ReviewGetParams**kwargs) -> ExtractReview
GET/api/v2/extract/{job_id}/review
Change Extract Review Fields
extract.review.change_fields(strjob_id, ReviewChangeFieldsParams**kwargs) -> ExtractReview
POST/api/v2/extract/{job_id}/review/fields
Approve Extract Review
extract.review.approve(strjob_id, ReviewApproveParams**kwargs) -> ExtractReview
POST/api/v2/extract/{job_id}/review/approve
Reject Extract Review
extract.review.reject(strjob_id, ReviewRejectParams**kwargs) -> ExtractReview
POST/api/v2/extract/{job_id}/review/reject
Reopen Extract Review
extract.review.reopen(strjob_id, ReviewReopenParams**kwargs) -> ExtractReview
POST/api/v2/extract/{job_id}/review/reopen
List Extract Review Events
extract.review.list_events(strjob_id, ReviewListEventsParams**kwargs) -> SyncPaginatedCursor[ExtractReviewEvent]
GET/api/v2/extract/{job_id}/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.

id: str

Unique identifier of the review.

confidence_threshold: float

Fields read below this confidence are flagged.

created_at: datetime

When review was turned on.

formatdate-time
decided_at: Optional[datetime]

When it was approved or rejected.

formatdate-time
decided_by: Optional[str]

ID of the user who approved or rejected it.

decided_reason: Optional[str]

Why it was rejected.

field_actions: Dict[str, FieldActions]

The latest action per field, keyed by JSON Pointer.

action: Literal["clear", "confirm", "correct"]

confirm, correct or clear.

One of the following:
"clear"
"confirm"
"correct"
actor_id: str

ID of the user who acted.

at: datetime

When they acted.

formatdate-time
value: Optional[object]

The corrected value, for correct.

fields_in_scope: List[str]

JSON Pointers of the fields the threshold applies to; empty means all.

flags: List[Flag]

Fields the review asks a person to check.

handled: bool

Whether someone confirmed, corrected or cleared it.

path: str

JSON Pointer of the field.

reason: Literal["below_threshold", "required_empty"]

below_threshold, or required_empty for a required field left empty.

One of the following:
"below_threshold"
"required_empty"
cell: Optional[FlagCell]

Where in a list the least confident value is.

row: int

Index of the row, from 0.

column: Optional[str]

Property of the row, when rows are objects.

confidence: Optional[float]

The field’s confidence; for a list, its least confident value.

job_id: str

The extract job reviewed.

open_flags: List[str]

JSON Pointers of flagged fields nobody checked.

original_result: Optional[Dict[str, object]]

The result as the model read it.

required_fields: List[str]

JSON Pointers of fields flagged when empty.

retain_until: datetime

When the job and its document may be deleted.

formatdate-time
reviewed_result: Dict[str, object]

The result with the field actions.

revision: int

Bumped by every change; actions name the one they saw.

source_file_id: Optional[str]

The file the job read, or the file behind the parse job it read; null for a URL.

status: Literal["approved", "pending", "rejected"]

pending until approved or rejected.

One of the following:
"approved"
"pending"
"rejected"
updated_at: datetime

When the review last changed.

formatdate-time
class ExtractReviewEvent: …

One entry in a review’s history.

id: str

Unique identifier of the entry.

actor_id: str

ID of the user who acted.

created_at: datetime

When it happened.

formatdate-time
kind: Literal["approved", "created", "field_cleared", 7 more]

What happened.

One of the following:
"approved"
"created"
"field_cleared"
"field_confirmed"
"field_corrected"
"field_restored"
"field_undone"
"flags_signed_off"
"rejected"
"reopened"
detail: Optional[Detail]

The settings for created, the reason for rejected, and the fields for flags_signed_off; null for the rest.

One of the following:
class DetailExtractReviewCreatedDetail: …

What a created entry records: where review was turned on, and its settings.

confidence_threshold: float

Fields read below this confidence are flagged.

fields_in_scope: List[str]

JSON Pointers of the fields the threshold applies to; empty means all.

origin: Literal["api", "edit", "history", "run"]

Turned on as the job ran, from History, by a first edit, or by the API.

One of the following:
"api"
"edit"
"history"
"run"
required_fields: List[str]

JSON Pointers of fields flagged when empty.

class DetailExtractReviewRejectedDetail: …

What a rejected entry records.

reason: str

Why the result was rejected.

class DetailExtractReviewSignedOffDetail: …

What a flags_signed_off entry records.

paths: List[str]

JSON Pointers of the flagged fields confirmed as part of approving.

path: Optional[str]

JSON Pointer of the field it changed.

value_after: Optional[object]

The field’s value after the change.

value_before: Optional[object]

The field’s value before the change.

Note for AI agents: this documentation is built for programmatic access. - Overview of all docs: https://developers.llamaindex.ai/llms.txt - Any page is available as raw Markdown by appending index.md to its URL — e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md - Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ — search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters. - A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/for-agents/mcp/ - Other LlamaIndex tooling for agents — the LlamaParse Platform MCP server, agent skills and plugins, and the n8n node — is mapped at https://developers.llamaindex.ai/for-agents/