Skip to content

Extract

Create Extract Job
ExtractV2Job Extract.Create(ExtractCreateParamsparameters, CancellationTokencancellationToken = default)
POST/api/v2/extract
List Extract Jobs
ExtractV2JobQueryResponse Extract.List(ExtractListParams?parameters, CancellationTokencancellationToken = default)
GET/api/v2/extract
Get Extract Job
ExtractV2Job Extract.Get(ExtractGetParamsparameters, CancellationTokencancellationToken = default)
GET/api/v2/extract/{job_id}
Delete Extract Job
JsonElement Extract.Delete(ExtractDeleteParamsparameters, CancellationTokencancellationToken = default)
DELETE/api/v2/extract/{job_id}
Cancel Extract Job
ExtractV2Job Extract.Cancel(ExtractCancelParamsparameters, CancellationTokencancellationToken = default)
POST/api/v2/extract/{job_id}/cancel
Validate Extraction Schema
ExtractV2SchemaValidateResponse Extract.ValidateSchema(ExtractValidateSchemaParamsparameters, CancellationTokencancellationToken = default)
POST/api/v2/extract/schema/validation
Generate Extraction Schema
ConfigurationCreate Extract.GenerateSchema(ExtractGenerateSchemaParams?parameters, CancellationTokencancellationToken = default)
POST/api/v2/extract/schema/generate
ModelsExpand Collapse
class ExtractConfiguration:

Extract configuration combining parse and extract settings.

required IReadOnlyDictionary<string, DataSchema?> DataSchema

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

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
Boolean AdvancedCitations

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

Boolean CiteSources

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

Boolean ConfidenceScores

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

Boolean DisableCache

Disable reuse and storage of Extract results

Effort? Effort

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 ExtractionTarget

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"PerDoc
"per_page"PerPage
"per_table_row"PerTableRow
Long? MaxPages

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

minimum1
string? ParseConfigID

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? ParseTier

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
"agentic_plus"AgenticPlus
"cost_effective"CostEffective
"fast"Fast
IReadOnlyList<string>? SheetNames

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”].

Boolean SpreadsheetMode

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.

string? SystemPrompt

Custom system prompt to guide extraction behavior

string? TargetPages

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

Tier Tier

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
"agentic_plus"AgenticPlus
"cost_effective"CostEffective
"turbo"Turbo
string Version

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.

ExtractedFieldMetadata? FieldMetadata

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

IReadOnlyDictionary<string, DocumentMetadata?>? DocumentMetadata

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:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
IReadOnlyList<IReadOnlyDictionary<string, PageMetadata?>>? PageMetadata

Per-page metadata when extraction_target is per_page

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
IReadOnlyList<IReadOnlyDictionary<string, RowMetadata?>>? RowMetadata

Per-row metadata when extraction_target is per_table_row

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
string? ParseJobID

Reference to the ParseJob ID used for parsing

string? ParseTier

Parse tier used for parsing the document

class ExtractJobUsage:

Extraction usage metrics.

Long? NumPagesBilled

Number of effective pages billed

Long? NumPagesExtracted

Number of pages extracted

class ExtractV2Job:

An extraction job.

required string ID

Unique job identifier (job_id)

required DateTimeOffset CreatedAt

Creation timestamp

formatdate-time
required string FileInput

File ID or parse job ID that was extracted

required string ProjectID

Project this job belongs to

required string Status

Current job status.

  • PENDING — queued, not yet started
  • RUNNING — actively processing
  • COMPLETED — finished successfully
  • FAILED — terminated with an error
  • CANCELLED — cancelled by user
required DateTimeOffset UpdatedAt

Last update timestamp

formatdate-time
ExtractConfiguration? Configuration

Extract configuration combining parse and extract settings.

required IReadOnlyDictionary<string, DataSchema?> DataSchema

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

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
Boolean AdvancedCitations

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

Boolean CiteSources

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

Boolean ConfidenceScores

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

Boolean DisableCache

Disable reuse and storage of Extract results

Effort? Effort

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 ExtractionTarget

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"PerDoc
"per_page"PerPage
"per_table_row"PerTableRow
Long? MaxPages

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

minimum1
string? ParseConfigID

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? ParseTier

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
"agentic_plus"AgenticPlus
"cost_effective"CostEffective
"fast"Fast
IReadOnlyList<string>? SheetNames

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”].

Boolean SpreadsheetMode

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.

string? SystemPrompt

Custom system prompt to guide extraction behavior

string? TargetPages

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

Tier Tier

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
"agentic_plus"AgenticPlus
"cost_effective"CostEffective
"turbo"Turbo
string Version

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.

string? ConfigurationID

Saved extract configuration ID used for this job, if any

string? ErrorMessage

Error details when status is FAILED

ExtractJobMetadata? ExtractMetadata

Extraction metadata.

ExtractedFieldMetadata? FieldMetadata

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

IReadOnlyDictionary<string, DocumentMetadata?>? DocumentMetadata

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:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
IReadOnlyList<IReadOnlyDictionary<string, PageMetadata?>>? PageMetadata

Per-page metadata when extraction_target is per_page

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
IReadOnlyList<IReadOnlyDictionary<string, RowMetadata?>>? RowMetadata

Per-row metadata when extraction_target is per_table_row

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
string? ParseJobID

Reference to the ParseJob ID used for parsing

string? ParseTier

Parse tier used for parsing the document

ExtractResult? ExtractResult

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:
IReadOnlyDictionary<string, UnionMember0Item?>
One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
IReadOnlyList<IReadOnlyDictionary<string, UnnamedSchemaWithArrayParent2Item?>>
One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
Metadata? Metadata

Job-level metadata.

Extraction usage metrics.

Long? NumPagesBilled

Number of effective pages billed

Long? NumPagesExtracted

Number of pages extracted

Usage? 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.

Double? Credits

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

Double? ExtractCredits

Credits billed for the extraction itself

Double? ParseCredits

Credits billed against the parse job backing this extract job

class ExtractV2JobCreate:

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

required string FileInput

File ID or parse job ID to extract from

maxLength200
ExtractConfiguration? Configuration

Extract configuration combining parse and extract settings.

required IReadOnlyDictionary<string, DataSchema?> DataSchema

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

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
Boolean AdvancedCitations

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

Boolean CiteSources

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

Boolean ConfidenceScores

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

Boolean DisableCache

Disable reuse and storage of Extract results

Effort? Effort

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 ExtractionTarget

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"PerDoc
"per_page"PerPage
"per_table_row"PerTableRow
Long? MaxPages

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

minimum1
string? ParseConfigID

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? ParseTier

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
"agentic_plus"AgenticPlus
"cost_effective"CostEffective
"fast"Fast
IReadOnlyList<string>? SheetNames

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”].

Boolean SpreadsheetMode

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.

string? SystemPrompt

Custom system prompt to guide extraction behavior

string? TargetPages

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

Tier Tier

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
"agentic_plus"AgenticPlus
"cost_effective"CostEffective
"turbo"Turbo
string Version

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.

string? ConfigurationID

Saved configuration ID

IReadOnlyList<string>? WebhookConfigurationIds

IDs of saved webhook configurations to notify for this job.

IReadOnlyList<WebhookConfiguration>? WebhookConfigurations

Outbound webhook endpoints to notify on job status changes

IReadOnlyList<WebhookEvent>? WebhookEvents

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

One of the following:
"batch.cancelled"BatchCancelled
"batch.error"BatchError
"batch.pending"BatchPending
"batch.running"BatchRunning
"batch.success"BatchSuccess
"classify.cancelled"ClassifyCancelled
"classify.error"ClassifyError
"classify.partial_success"ClassifyPartialSuccess
"classify.pending"ClassifyPending
"classify.running"ClassifyRunning
"classify.success"ClassifySuccess
"extract.cancelled"ExtractCancelled
"extract.error"ExtractError
"extract.partial_success"ExtractPartialSuccess
"extract.pending"ExtractPending
"extract.running"ExtractRunning
"extract.success"ExtractSuccess
"parse.cancelled"ParseCancelled
"parse.error"ParseError
"parse.partial_success"ParsePartialSuccess
"parse.pending"ParsePending
"parse.running"ParseRunning
"parse.success"ParseSuccess
"sheets.cancelled"SheetsCancelled
"sheets.error"SheetsError
"sheets.partial_success"SheetsPartialSuccess
"sheets.pending"SheetsPending
"sheets.success"SheetsSuccess
"split.cancelled"SplitCancelled
"split.error"SplitError
"split.pending"SplitPending
"split.processing"SplitProcessing
"split.success"SplitSuccess
"unmapped_event"UnmappedEvent
"verify.cancelled"VerifyCancelled
"verify.error"VerifyError
"verify.pending"VerifyPending
"verify.running"VerifyRunning
"verify.success"VerifySuccess
IReadOnlyDictionary<string, string>? WebhookHeaders

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

string? WebhookOutputFormat

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

string? WebhookSigningSecret

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.

string? WebhookUrl

URL to receive webhook POST notifications

class ExtractV2JobQueryResponse:

Paginated list of extraction jobs.

required IReadOnlyList<ExtractV2Job> Items

The list of items.

required string ID

Unique job identifier (job_id)

required DateTimeOffset CreatedAt

Creation timestamp

formatdate-time
required string FileInput

File ID or parse job ID that was extracted

required string ProjectID

Project this job belongs to

required string Status

Current job status.

  • PENDING — queued, not yet started
  • RUNNING — actively processing
  • COMPLETED — finished successfully
  • FAILED — terminated with an error
  • CANCELLED — cancelled by user
required DateTimeOffset UpdatedAt

Last update timestamp

formatdate-time
ExtractConfiguration? Configuration

Extract configuration combining parse and extract settings.

required IReadOnlyDictionary<string, DataSchema?> DataSchema

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

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
Boolean AdvancedCitations

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

Boolean CiteSources

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

Boolean ConfidenceScores

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

Boolean DisableCache

Disable reuse and storage of Extract results

Effort? Effort

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 ExtractionTarget

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"PerDoc
"per_page"PerPage
"per_table_row"PerTableRow
Long? MaxPages

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

minimum1
string? ParseConfigID

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? ParseTier

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
"agentic_plus"AgenticPlus
"cost_effective"CostEffective
"fast"Fast
IReadOnlyList<string>? SheetNames

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”].

Boolean SpreadsheetMode

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.

string? SystemPrompt

Custom system prompt to guide extraction behavior

string? TargetPages

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

Tier Tier

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
"agentic_plus"AgenticPlus
"cost_effective"CostEffective
"turbo"Turbo
string Version

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.

string? ConfigurationID

Saved extract configuration ID used for this job, if any

string? ErrorMessage

Error details when status is FAILED

ExtractJobMetadata? ExtractMetadata

Extraction metadata.

ExtractedFieldMetadata? FieldMetadata

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

IReadOnlyDictionary<string, DocumentMetadata?>? DocumentMetadata

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:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
IReadOnlyList<IReadOnlyDictionary<string, PageMetadata?>>? PageMetadata

Per-page metadata when extraction_target is per_page

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
IReadOnlyList<IReadOnlyDictionary<string, RowMetadata?>>? RowMetadata

Per-row metadata when extraction_target is per_table_row

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
string? ParseJobID

Reference to the ParseJob ID used for parsing

string? ParseTier

Parse tier used for parsing the document

ExtractResult? ExtractResult

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:
IReadOnlyDictionary<string, UnionMember0Item?>
One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
IReadOnlyList<IReadOnlyDictionary<string, UnnamedSchemaWithArrayParent2Item?>>
One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
Metadata? Metadata

Job-level metadata.

Extraction usage metrics.

Long? NumPagesBilled

Number of effective pages billed

Long? NumPagesExtracted

Number of pages extracted

Usage? 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.

Double? Credits

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

Double? ExtractCredits

Credits billed for the extraction itself

Double? ParseCredits

Credits billed against the parse job backing this extract job

string? NextPageToken

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

Long? TotalSize

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.

IReadOnlyDictionary<string, DataSchema?>? DataSchema

Optional schema to validate, refine, or extend

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
string? FileID

Optional file ID to analyze for schema generation

string? Name

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

maxLength255
string? Prompt

Natural language description of the data structure to extract

class ExtractV2SchemaValidateRequest:

Request schema for validating an extraction schema.

required IReadOnlyDictionary<string, DataSchema?> DataSchema

JSON Schema to validate for use with extract jobs

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
class ExtractV2SchemaValidateResponse:

Response schema for schema validation.

required IReadOnlyDictionary<string, DataSchema?> DataSchema

Validated JSON Schema, ready for use in extract jobs

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
class ExtractedFieldMetadata:

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

IReadOnlyDictionary<string, DocumentMetadata?>? DocumentMetadata

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:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
IReadOnlyList<IReadOnlyDictionary<string, PageMetadata?>>? PageMetadata

Per-page metadata when extraction_target is per_page

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean
IReadOnlyList<IReadOnlyDictionary<string, RowMetadata?>>? RowMetadata

Per-row metadata when extraction_target is per_table_row

One of the following:
IReadOnlyDictionary<string, JsonElement>
IReadOnlyList<JsonElement>
string
Double
Boolean

ExtractReview

Create Extract Review
ExtractReview Extract.Review.Create(ReviewCreateParamsparameters, CancellationTokencancellationToken = default)
POST/api/v2/extract/{job_id}/review
Get Extract Review
ExtractReview Extract.Review.Get(ReviewGetParamsparameters, CancellationTokencancellationToken = default)
GET/api/v2/extract/{job_id}/review
Change Extract Review Fields
ExtractReview Extract.Review.ChangeFields(ReviewChangeFieldsParamsparameters, CancellationTokencancellationToken = default)
POST/api/v2/extract/{job_id}/review/fields
Approve Extract Review
ExtractReview Extract.Review.Approve(ReviewApproveParamsparameters, CancellationTokencancellationToken = default)
POST/api/v2/extract/{job_id}/review/approve
Reject Extract Review
ExtractReview Extract.Review.Reject(ReviewRejectParamsparameters, CancellationTokencancellationToken = default)
POST/api/v2/extract/{job_id}/review/reject
Reopen Extract Review
ExtractReview Extract.Review.Reopen(ReviewReopenParamsparameters, CancellationTokencancellationToken = default)
POST/api/v2/extract/{job_id}/review/reopen
List Extract Review Events
ReviewListEventsPageResponse Extract.Review.ListEvents(ReviewListEventsParamsparameters, CancellationTokencancellationToken = default)
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.

required string ID

Unique identifier of the review.

required Double ConfidenceThreshold

Fields read below this confidence are flagged.

required DateTimeOffset CreatedAt

When review was turned on.

formatdate-time
required DateTimeOffset? DecidedAt

When it was approved or rejected.

formatdate-time
required string? DecidedBy

ID of the user who approved or rejected it.

required string? DecidedReason

Why it was rejected.

required IReadOnlyDictionary<string, FieldActionsItem> FieldActions

The latest action per field, keyed by JSON Pointer.

required Action Action

confirm, correct or clear.

One of the following:
"clear"Clear
"confirm"Confirm
"correct"Correct
required string ActorID

ID of the user who acted.

required DateTimeOffset At

When they acted.

formatdate-time
JsonElement Value

The corrected value, for correct.

required IReadOnlyList<string> FieldsInScope

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

required IReadOnlyList<Flag> Flags

Fields the review asks a person to check.

required Boolean Handled

Whether someone confirmed, corrected or cleared it.

required string Path

JSON Pointer of the field.

required Reason Reason

below_threshold, or required_empty for a required field left empty.

One of the following:
"below_threshold"BelowThreshold
"required_empty"RequiredEmpty
Cell? Cell

Where in a list the least confident value is.

required Long Row

Index of the row, from 0.

string? Column

Property of the row, when rows are objects.

Double? Confidence

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

required string JobID

The extract job reviewed.

required IReadOnlyList<string> OpenFlags

JSON Pointers of flagged fields nobody checked.

required IReadOnlyDictionary<string, JsonElement>? OriginalResult

The result as the model read it.

required IReadOnlyList<string> RequiredFields

JSON Pointers of fields flagged when empty.

required DateTimeOffset RetainUntil

When the job and its document may be deleted.

formatdate-time
required IReadOnlyDictionary<string, JsonElement> ReviewedResult

The result with the field actions.

required Long Revision

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

required string? SourceFileID

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

required Status Status

pending until approved or rejected.

One of the following:
"approved"Approved
"pending"Pending
"rejected"Rejected
required DateTimeOffset UpdatedAt

When the review last changed.

formatdate-time
class ExtractReviewEvent:

One entry in a review’s history.

required string ID

Unique identifier of the entry.

required string? ActorID

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

required DateTimeOffset CreatedAt

When it happened.

formatdate-time
required Kind Kind

What happened.

One of the following:
"approved"Approved
"created"Created
"field_cleared"FieldCleared
"field_confirmed"FieldConfirmed
"field_corrected"FieldCorrected
"field_restored"FieldRestored
"field_undone"FieldUndone
"flags_signed_off"FlagsSignedOff
"rejected"Rejected
"reopened"Reopened
Detail? 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 ExtractReviewCreatedDetail:

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

required Double ConfidenceThreshold

Fields read below this confidence are flagged.

required IReadOnlyList<string> FieldsInScope

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

required Origin Origin

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.

One of the following:
"api"Api
"edit"Edit
"history"History
"policy"Policy
"run"Run
required IReadOnlyList<string> RequiredFields

JSON Pointers of fields flagged when empty.

class ExtractReviewRejectedDetail:

What a rejected entry records.

required string Reason

Why the result was rejected.

class ExtractReviewSignedOffDetail:

What a flags_signed_off entry records.

required IReadOnlyList<string> Paths

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

string? Path

JSON Pointer of the field it changed.

JsonElement ValueAfter

The field’s value after the change.

JsonElement ValueBefore

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/