Skip to content

Extract

Create Extract Job
$ llp extract create
POST/api/v2/extract
List Extract Jobs
$ llp extract list
GET/api/v2/extract
Get Extract Job
$ llp extract get
GET/api/v2/extract/{job_id}
Delete Extract Job
$ llp extract delete
DELETE/api/v2/extract/{job_id}
Cancel Extract Job
$ llp extract cancel
POST/api/v2/extract/{job_id}/cancel
Validate Extraction Schema
$ llp extract validate-schema
POST/api/v2/extract/schema/validation
Generate Extraction Schema
$ llp extract generate-schema
POST/api/v2/extract/schema/generate
ModelsExpand Collapse
extract_configuration: object { data_schema, advanced_citations, cite_sources, 13 more }

Extract configuration combining parse and extract settings.

data_schema: map[map[unknown] or array of unknown or string or 2 more]

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

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
advanced_citations: optional boolean

More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.

cite_sources: optional boolean

Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).

confidence_scores: optional boolean

Include confidence scores in results. Returned under extract_metadata (auto-included when set).

disable_cache: optional boolean

Disable reuse and storage of Extract results

effort: optional "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.

"max"
extraction_target: optional "per_doc" or "per_page" or "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.

"per_doc"
"per_page"
"per_table_row"
max_pages: optional number

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

parse_config_id: optional string

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 "agentic" or "agentic_plus" or "cost_effective" or "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.

"agentic"
"agentic_plus"
"cost_effective"
"fast"
sheet_names: optional array of string

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 boolean

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 string

Custom system prompt to guide extraction behavior

target_pages: optional string

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

tier: optional "agentic" or "agentic_plus" or "cost_effective" or "turbo"

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

"agentic"
"agentic_plus"
"cost_effective"
"turbo"
version: optional string

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.

extract_job_metadata: object { field_metadata, parse_job_id, parse_tier }

Extraction metadata.

field_metadata: optional object { document_metadata, page_metadata, row_metadata }

Metadata for extracted fields including document, page, and row level info.

document_metadata: optional map[map[unknown] or array of unknown or string or 2 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.

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
page_metadata: optional array of map[map[unknown] or array of unknown or string or 2 more]

Per-page metadata when extraction_target is per_page

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
row_metadata: optional array of map[map[unknown] or array of unknown or string or 2 more]

Per-row metadata when extraction_target is per_table_row

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
parse_job_id: optional string

Reference to the ParseJob ID used for parsing

parse_tier: optional string

Parse tier used for parsing the document

extract_job_usage: object { num_pages_billed, num_pages_extracted }

Extraction usage metrics.

num_pages_billed: optional number

Number of effective pages billed

num_pages_extracted: optional number

Number of pages extracted

extract_v2_job: object { id, created_at, file_input, 10 more }

An extraction job.

id: string

Unique job identifier (job_id)

created_at: string

Creation timestamp

file_input: string

File ID or parse job ID that was extracted

project_id: string

Project this job belongs to

status: string

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: string

Last update timestamp

configuration: optional object { data_schema, advanced_citations, cite_sources, 13 more }

Extract configuration combining parse and extract settings.

data_schema: map[map[unknown] or array of unknown or string or 2 more]

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

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
advanced_citations: optional boolean

More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.

cite_sources: optional boolean

Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).

confidence_scores: optional boolean

Include confidence scores in results. Returned under extract_metadata (auto-included when set).

disable_cache: optional boolean

Disable reuse and storage of Extract results

effort: optional "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.

"max"
extraction_target: optional "per_doc" or "per_page" or "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.

"per_doc"
"per_page"
"per_table_row"
max_pages: optional number

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

parse_config_id: optional string

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 "agentic" or "agentic_plus" or "cost_effective" or "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.

"agentic"
"agentic_plus"
"cost_effective"
"fast"
sheet_names: optional array of string

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 boolean

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 string

Custom system prompt to guide extraction behavior

target_pages: optional string

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

tier: optional "agentic" or "agentic_plus" or "cost_effective" or "turbo"

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

"agentic"
"agentic_plus"
"cost_effective"
"turbo"
version: optional string

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 string

Saved extract configuration ID used for this job, if any

error_message: optional string

Error details when status is FAILED

extract_metadata: optional object { field_metadata, parse_job_id, parse_tier }

Extraction metadata.

field_metadata: optional object { document_metadata, page_metadata, row_metadata }

Metadata for extracted fields including document, page, and row level info.

document_metadata: optional map[map[unknown] or array of unknown or string or 2 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.

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
page_metadata: optional array of map[map[unknown] or array of unknown or string or 2 more]

Per-page metadata when extraction_target is per_page

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
row_metadata: optional array of map[map[unknown] or array of unknown or string or 2 more]

Per-row metadata when extraction_target is per_table_row

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
parse_job_id: optional string

Reference to the ParseJob ID used for parsing

parse_tier: optional string

Parse tier used for parsing the document

extract_result: optional map[map[unknown] or array of unknown or string or 2 more] or array of map[map[unknown] or array of unknown or string or 2 more]

Extracted data conforming to the data_schema. Returns a single object for per_doc, or an array for per_page / per_table_row.

union_member_0: map[map[unknown] or array of unknown or string or 2 more]
union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
union_member_1: array of map[map[unknown] or array of unknown or string or 2 more]
union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
metadata: optional object { usage }

Job-level metadata.

usage: optional object { num_pages_billed, num_pages_extracted }

Extraction usage metrics.

num_pages_billed: optional number

Number of effective pages billed

num_pages_extracted: optional number

Number of pages extracted

usage: optional object { credits, extract_credits, parse_credits }

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 number

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

extract_credits: optional number

Credits billed for the extraction itself

parse_credits: optional number

Credits billed against the parse job backing this extract job

extract_v2_job_create: object { file_input, configuration, configuration_id, 2 more }

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

file_input: string

File ID or parse job ID to extract from

configuration: optional object { data_schema, advanced_citations, cite_sources, 13 more }

Extract configuration combining parse and extract settings.

data_schema: map[map[unknown] or array of unknown or string or 2 more]

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

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
advanced_citations: optional boolean

More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.

cite_sources: optional boolean

Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).

confidence_scores: optional boolean

Include confidence scores in results. Returned under extract_metadata (auto-included when set).

disable_cache: optional boolean

Disable reuse and storage of Extract results

effort: optional "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.

"max"
extraction_target: optional "per_doc" or "per_page" or "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.

"per_doc"
"per_page"
"per_table_row"
max_pages: optional number

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

parse_config_id: optional string

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 "agentic" or "agentic_plus" or "cost_effective" or "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.

"agentic"
"agentic_plus"
"cost_effective"
"fast"
sheet_names: optional array of string

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 boolean

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 string

Custom system prompt to guide extraction behavior

target_pages: optional string

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

tier: optional "agentic" or "agentic_plus" or "cost_effective" or "turbo"

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

"agentic"
"agentic_plus"
"cost_effective"
"turbo"
version: optional string

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 string

Saved configuration ID

webhook_configuration_ids: optional array of string

IDs of saved webhook configurations to notify for this job.

webhook_configurations: optional array of object { webhook_events, webhook_headers, webhook_output_format, 2 more }

Outbound webhook endpoints to notify on job status changes

webhook_events: optional array of "batch.cancelled" or "batch.error" or "batch.pending" or 36 more

Events to subscribe to (e.g. ‘parse.success’, ‘extract.error’). If null, all events are delivered.

"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 map[string]

Custom HTTP headers sent with each webhook request (e.g. auth tokens)

webhook_output_format: optional string

Response format sent to the webhook: ‘string’ (default) or ‘json’

webhook_signing_secret: optional string

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 string

URL to receive webhook POST notifications

extract_v2_job_query_response: object { items, next_page_token, total_size }

Paginated list of extraction jobs.

items: array of ExtractV2Job { id, created_at, file_input, 10 more }

The list of items.

id: string

Unique job identifier (job_id)

created_at: string

Creation timestamp

file_input: string

File ID or parse job ID that was extracted

project_id: string

Project this job belongs to

status: string

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: string

Last update timestamp

configuration: optional object { data_schema, advanced_citations, cite_sources, 13 more }

Extract configuration combining parse and extract settings.

data_schema: map[map[unknown] or array of unknown or string or 2 more]

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

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
advanced_citations: optional boolean

More precise citation bounding boxes. Set to false for faster extraction with less precise boxes.

cite_sources: optional boolean

Include citations in results. Returned under extract_metadata (auto-included when set). Text-level on turbo (no bounding boxes).

confidence_scores: optional boolean

Include confidence scores in results. Returned under extract_metadata (auto-included when set).

disable_cache: optional boolean

Disable reuse and storage of Extract results

effort: optional "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.

"max"
extraction_target: optional "per_doc" or "per_page" or "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.

"per_doc"
"per_page"
"per_table_row"
max_pages: optional number

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

parse_config_id: optional string

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 "agentic" or "agentic_plus" or "cost_effective" or "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.

"agentic"
"agentic_plus"
"cost_effective"
"fast"
sheet_names: optional array of string

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 boolean

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 string

Custom system prompt to guide extraction behavior

target_pages: optional string

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

tier: optional "agentic" or "agentic_plus" or "cost_effective" or "turbo"

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

"agentic"
"agentic_plus"
"cost_effective"
"turbo"
version: optional string

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 string

Saved extract configuration ID used for this job, if any

error_message: optional string

Error details when status is FAILED

extract_metadata: optional object { field_metadata, parse_job_id, parse_tier }

Extraction metadata.

field_metadata: optional object { document_metadata, page_metadata, row_metadata }

Metadata for extracted fields including document, page, and row level info.

document_metadata: optional map[map[unknown] or array of unknown or string or 2 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.

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
page_metadata: optional array of map[map[unknown] or array of unknown or string or 2 more]

Per-page metadata when extraction_target is per_page

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
row_metadata: optional array of map[map[unknown] or array of unknown or string or 2 more]

Per-row metadata when extraction_target is per_table_row

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
parse_job_id: optional string

Reference to the ParseJob ID used for parsing

parse_tier: optional string

Parse tier used for parsing the document

extract_result: optional map[map[unknown] or array of unknown or string or 2 more] or array of map[map[unknown] or array of unknown or string or 2 more]

Extracted data conforming to the data_schema. Returns a single object for per_doc, or an array for per_page / per_table_row.

union_member_0: map[map[unknown] or array of unknown or string or 2 more]
union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
union_member_1: array of map[map[unknown] or array of unknown or string or 2 more]
union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
metadata: optional object { usage }

Job-level metadata.

usage: optional object { num_pages_billed, num_pages_extracted }

Extraction usage metrics.

num_pages_billed: optional number

Number of effective pages billed

num_pages_extracted: optional number

Number of pages extracted

usage: optional object { credits, extract_credits, parse_credits }

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 number

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

extract_credits: optional number

Credits billed for the extraction itself

parse_credits: optional number

Credits billed against the parse job backing this extract job

next_page_token: optional string

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 number

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.

extract_v2_schema_generate_request: object { data_schema, file_id, name, prompt }

Request schema for generating an extraction schema.

data_schema: optional map[map[unknown] or array of unknown or string or 2 more]

Optional schema to validate, refine, or extend

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
file_id: optional string

Optional file ID to analyze for schema generation

name: optional string

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

prompt: optional string

Natural language description of the data structure to extract

extract_v2_schema_validate_request: object { data_schema }

Request schema for validating an extraction schema.

data_schema: map[map[unknown] or array of unknown or string or 2 more]

JSON Schema to validate for use with extract jobs

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
extract_v2_schema_validate_response: object { data_schema }

Response schema for schema validation.

data_schema: map[map[unknown] or array of unknown or string or 2 more]

Validated JSON Schema, ready for use in extract jobs

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
extracted_field_metadata: object { document_metadata, page_metadata, row_metadata }

Metadata for extracted fields including document, page, and row level info.

document_metadata: optional map[map[unknown] or array of unknown or string or 2 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.

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
page_metadata: optional array of map[map[unknown] or array of unknown or string or 2 more]

Per-page metadata when extraction_target is per_page

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean
row_metadata: optional array of map[map[unknown] or array of unknown or string or 2 more]

Per-row metadata when extraction_target is per_table_row

union_member_0: map[unknown]
union_member_1: array of unknown
union_member_2: string
union_member_3: number
union_member_4: boolean

ExtractReview

Create Extract Review
$ llp extract:review create
POST/api/v2/extract/{job_id}/review
Get Extract Review
$ llp extract:review get
GET/api/v2/extract/{job_id}/review
Change Extract Review Fields
$ llp extract:review change-fields
POST/api/v2/extract/{job_id}/review/fields
Approve Extract Review
$ llp extract:review approve
POST/api/v2/extract/{job_id}/review/approve
Reject Extract Review
$ llp extract:review reject
POST/api/v2/extract/{job_id}/review/reject
Reopen Extract Review
$ llp extract:review reopen
POST/api/v2/extract/{job_id}/review/reopen
List Extract Review Events
$ llp extract:review list-events
GET/api/v2/extract/{job_id}/review/events
ModelsExpand Collapse
extract_review: object { id, confidence_threshold, created_at, 16 more }

An extract job’s review: its settings, flags, field actions and decision, with the result as read and as reviewed.

id: string

Unique identifier of the review.

confidence_threshold: number

Fields read below this confidence are flagged.

created_at: string

When review was turned on.

decided_at: string

When it was approved or rejected.

decided_by: string

ID of the user who approved or rejected it.

decided_reason: string

Why it was rejected.

field_actions: map[object { action, actor_id, at, value } ]

The latest action per field, keyed by JSON Pointer.

action: "clear" or "confirm" or "correct"

confirm, correct or clear.

"clear"
"confirm"
"correct"
actor_id: string

ID of the user who acted.

at: string

When they acted.

value: optional unknown

The corrected value, for correct.

fields_in_scope: array of string

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

flags: array of object { handled, path, reason, 2 more }

Fields the review asks a person to check.

handled: boolean

Whether someone confirmed, corrected or cleared it.

path: string

JSON Pointer of the field.

reason: "below_threshold" or "required_empty"

below_threshold, or required_empty for a required field left empty.

"below_threshold"
"required_empty"
cell: optional object { row, column }

Where in a list the least confident value is.

row: number

Index of the row, from 0.

column: optional string

Property of the row, when rows are objects.

confidence: optional number

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

job_id: string

The extract job reviewed.

open_flags: array of string

JSON Pointers of flagged fields nobody checked.

original_result: map[unknown]

The result as the model read it.

required_fields: array of string

JSON Pointers of fields flagged when empty.

retain_until: string

When the job and its document may be deleted.

reviewed_result: map[unknown]

The result with the field actions.

revision: number

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

source_file_id: string

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

status: "approved" or "pending" or "rejected"

pending until approved or rejected.

"approved"
"pending"
"rejected"
updated_at: string

When the review last changed.

extract_review_event: object { id, actor_id, created_at, 5 more }

One entry in a review’s history.

id: string

Unique identifier of the entry.

actor_id: string

ID of the user who acted; null when a review policy turned review on.

created_at: string

When it happened.

kind: "approved" or "created" or "field_cleared" or 7 more

What happened.

"approved"
"created"
"field_cleared"
"field_confirmed"
"field_corrected"
"field_restored"
"field_undone"
"flags_signed_off"
"rejected"
"reopened"
detail: optional object { confidence_threshold, fields_in_scope, origin, required_fields } or object { reason } or object { paths }

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

ExtractReviewCreatedDetail: object { confidence_threshold, fields_in_scope, origin, required_fields }

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

confidence_threshold: number

Fields read below this confidence are flagged.

fields_in_scope: array of string

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

origin: "api" or "edit" or "history" or 2 more

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.

"api"
"edit"
"history"
"policy"
"run"
required_fields: array of string

JSON Pointers of fields flagged when empty.

ExtractReviewRejectedDetail: object { reason }

What a rejected entry records.

reason: string

Why the result was rejected.

ExtractReviewSignedOffDetail: object { paths }

What a flags_signed_off entry records.

paths: array of string

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

path: optional string

JSON Pointer of the field it changed.

value_after: optional unknown

The field’s value after the change.

value_before: optional unknown

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/