Skip to content

Create Configuration

ConfigurationResponse Configurations.Create(ConfigurationCreateParamsparameters, CancellationTokencancellationToken = default)
POST/api/v1/beta/configurations

Upsert a product configuration; updates if one with the same name + product type + project exists, otherwise creates.

ParametersExpand Collapse
ConfigurationCreateParams parameters
required string name

Body param: Human-readable name for this configuration.

maxLength255
minLength1
required Parameters parameters

Body param: Product-specific configuration parameters.

class ClassifyV2Parameters:

Typed parameters for a classify v2 product configuration.

JsonElement ProductType "classify_v2"constant

Product type.

required IReadOnlyList<Rule> Rules

Classify rules to evaluate against the document (at least one required)

required string Description

Natural language criteria for matching this rule

maxLength2000
minLength10
required string Type

Document type to assign when rule matches

maxLength50
minLength1
Mode Mode

Classify execution mode

ParsingConfiguration? ParsingConfiguration

Parsing configuration for classify jobs.

string Lang

ISO 639-1 language code for the document

Long? MaxPages

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

minimum1
string? TargetPages

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

class ExtractV2Parameters:

Typed parameters for an extract v2 product configuration.

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
JsonElement ProductType "extract_v2"constant

Product type.

Boolean CiteSources

Include citations in results

Boolean ConfidenceScores

Include confidence scores in results

ExtractionTarget ExtractionTarget

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

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

string? ParseTier

Parse tier to use before extraction. Defaults to the extract tier if not specified.

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), or agentic_plus (50 credits/page)

One of the following:
"agentic"Agentic
"agentic_plus"AgenticPlus
"cost_effective"CostEffective
string Version

Use ‘latest’ for the latest release for the selected tier or a date string (YYYY-MM-DD format) to pin to the nearest release at or before that date. Job responses always report the concrete resolved version the job runs, fixed at job creation; saved configurations keep the value as provided.

class ParseV2Parameters:

Configuration for LlamaParse v2 document parsing.

Includes tier selection, processing options, output formatting, page targeting, and webhook delivery. Refer to the LlamaParse documentation for details on each field.

JsonElement ProductType "parse_v2"constant

Product type.

required Tier Tier

Parsing tier: ‘fast’ (rule-based, cheapest), ‘cost_effective’ (balanced), ‘agentic’ (AI-powered with custom prompts), or ‘agentic_plus’ (premium AI with highest accuracy)

One of the following:
"agentic"Agentic
"agentic_plus"AgenticPlus
"cost_effective"CostEffective
"fast"Fast
required Version Version

Version for the selected tier. Use latest, or pin one of that tier’s dated versions.

Current latest by tier:

  • fast: 2026-06-15
  • cost_effective: 2026-06-26
  • agentic: 2026-07-15
  • agentic_plus: 2026-07-08

Full list: GET /api/v2/parse/versions.

One of the following:
"latest"Latest
"2026-07-15"2026_07_15
"2026-07-08"2026_07_08
"2026-06-26"2026_06_26
"2026-06-15"2026_06_15
AgenticOptions? AgenticOptions

Options for AI-powered parsing tiers (cost_effective, agentic, agentic_plus).

These options customize how the AI processes and interprets document content. Only applicable when using non-fast tiers.

string? CustomPrompt

Custom instructions for the AI parser. Use to guide extraction behavior, specify output formatting, or provide domain-specific context. Example: ‘Extract financial tables with currency symbols. Format dates as YYYY-MM-DD.’

string? ClientName

Identifier for the client/application making the request. Used for analytics and debugging. Example: ‘my-app-v2’

CropBox CropBox

Crop boundaries to process only a portion of each page. Values are ratios 0-1 from page edges

Double? Bottom

Bottom boundary as ratio (0-1). 0=top edge, 1=bottom edge. Content below this line is excluded

maximum1
minimum0
Double? Left

Left boundary as ratio (0-1). 0=left edge, 1=right edge. Content left of this line is excluded

maximum1
minimum0
Double? Right

Right boundary as ratio (0-1). 0=left edge, 1=right edge. Content right of this line is excluded

maximum1
minimum0
Double? Top

Top boundary as ratio (0-1). 0=top edge, 1=bottom edge. Content above this line is excluded

maximum1
minimum0
Boolean? DisableCache

Bypass result caching and force re-parsing. Use when document content may have changed or you need fresh results

JsonElement? FastOptions

Options for fast tier parsing (rule-based, no AI).

Fast tier uses deterministic algorithms for text extraction without AI enhancement. It’s the fastest and most cost-effective option, best suited for simple documents with standard layouts. Currently has no configurable options but reserved for future expansion.

InputOptions InputOptions

Format-specific options (HTML, PDF, spreadsheet, presentation). Applied based on detected input file type

Html Html

HTML/web page parsing options (applies to .html, .htm files)

Boolean? MakeAllElementsVisible

Force all HTML elements to be visible by overriding CSS display/visibility properties. Useful for parsing pages with hidden content or collapsed sections

Boolean? RemoveFixedElements

Remove fixed-position elements (headers, footers, floating buttons) that appear on every page render

Boolean? RemoveNavigationElements

Remove navigation elements (nav bars, sidebars, menus) to focus on main content

Image Image

Image parsing options (applies to .jpg, .jpeg, .png, .webp files)

Boolean? CameraPhotoCorrection

Detect documents photographed with a camera (e.g. phone scans of receipts or forms), then crop, perspective-correct, and flatten uneven lighting and shadows before parsing. Supports JPEG, PNG, WebP, and HEIC/HEIF inputs. Improves results when the document is tilted or surrounded by background. Images that already look like clean scans are left untouched

JsonElement Pdf

PDF-specific parsing options (applies to .pdf files)

Presentation Presentation

Presentation parsing options (applies to .pptx, .ppt, .odp, .key files)

Boolean? OutOfBoundsContent

Extract content positioned outside the visible slide area. Some presentations have hidden notes or content that extends beyond slide boundaries

Boolean? SkipEmbeddedData

Skip extraction of embedded chart data tables. When true, only the visual representation of charts is captured, not the underlying data

Spreadsheet Spreadsheet

Spreadsheet parsing options (applies to .xlsx, .xls, .csv, .ods files)

Boolean? DetectSubTablesInSheets

Detect and extract multiple tables within a single sheet. Useful when spreadsheets contain several data regions separated by blank rows/columns

Boolean? ForceFormulaComputationInSheets

Compute formula results instead of extracting formula text. Use when you need calculated values rather than formula definitions

Boolean? IncludeHiddenSheets

Parse hidden sheets in addition to visible ones. By default, hidden sheets are skipped

OutputOptions OutputOptions

Output formatting options for markdown, text, and extracted images

IReadOnlyList<string> AdditionalOutputs

Optional additional output artifacts to save alongside the primary parse output. Each value opts in to generating and persisting one extra file; the empty list (default) saves none. The three accepted values are: ‘stripped_md’ — per-page markdown stripped of formatting (links, bold/italic, images, HTML), saved as JSON for full-text-search indexing; fetch via expand=stripped_markdown_content_metadata. ‘concatenated_stripped_txt’ — all stripped pages concatenated into a single plain-text file with \n\n---\n\n between pages, useful for feeding the document into search or embedding pipelines as one blob; fetch via expand=concatenated_stripped_markdown_content_metadata. ‘word_bbox’ — raw word-level bounding boxes (one JSON object per word, with page number and x/y/w/h coordinates) saved as JSONL, useful for highlighting or grounding extracted answers back to the source document; fetch via expand=raw_words_content_metadata.

Boolean? ExtractPrintedPageNumber

Extract the printed page number as it appears in the document (e.g., ‘Page 5 of 10’, ‘v’, ‘A-3’). Useful for referencing original page numbers

IReadOnlyList<GranularBbox> GranularBboxes

Bounding-box granularity levels to compute for the parse. ‘word’ computes one bounding box per detected word; ‘line’ computes one per text line; ‘cell’ computes one per table cell. Multiple levels can be requested. Empty list (default) disables granular bboxes — only item-level layout boxes are returned on the result. When set, the computed boxes are not inlined on the result items; they are written to a separate grounded_items sidecar (JSONL, one row per page) and exposed as result_content_metadata.grounded_items (a presigned download URL) on the parse result. Each row matches the GroundedJsonItem shape.

One of the following:
"cell"Cell
"line"Line
"word"Word
IReadOnlyList<ImagesToSave> ImagesToSave

Image categories to extract and save. Options: ‘screenshot’ (full page renders useful for visual QA), ‘embedded’ (images found within the document), ‘layout’ (cropped regions from layout detection like figures and diagrams). Empty list saves no images

One of the following:
"embedded"Embedded
"layout"Layout
"screenshot"Screenshot
Markdown Markdown

Markdown formatting options including table styles and link annotations

Add link annotations to markdown output in the format text. When false, only the link text is included

Boolean? InlineImages

Embed images directly in markdown as base64 data URIs instead of extracting them as separate files. Useful for self-contained markdown output

Tables Tables

Table formatting options including markdown vs HTML format and merging behavior

Boolean? CompactMarkdownTables

Remove extra whitespace padding in markdown table cells for more compact output

string? MarkdownTableMultilineSeparator

Separator string for multiline cell content in markdown tables. Example: ‘<br>’ to preserve line breaks, ’ ’ to join with spaces

Boolean? MergeContinuedTables

Automatically merge tables that span multiple pages into a single table. The merged table appears on the first page with merged_from_pages metadata

Boolean? OutputTablesAsMarkdown

Output tables as markdown pipe tables instead of HTML <table> tags. Markdown tables are simpler but cannot represent complex structures like merged cells

SpatialText SpatialText

Spatial text output options for preserving document layout structure

Boolean? DoNotUnrollColumns

Keep multi-column layouts intact instead of linearizing columns into sequential text. Automatically enabled for non-fast tiers

Boolean? PreserveLayoutAlignmentAcrossPages

Maintain consistent text column alignment across page boundaries. Automatically enabled for document-level parsing modes

Boolean? PreserveVerySmallText

Include text below the normal size threshold. Useful for footnotes, watermarks, or fine print that might otherwise be filtered out

TablesAsSpreadsheet TablesAsSpreadsheet

Options for exporting tables as XLSX spreadsheets

Boolean? Enable

Whether this option is enabled

Boolean GuessSheetName

Automatically generate descriptive sheet names from table context (headers, surrounding text) instead of using generic names like ‘Table_1’

PageRanges PageRanges

Page selection: limit total pages or specify exact pages to process

Long? MaxPages

Maximum number of pages to process. Pages are processed in order starting from page 1. If both max_pages and target_pages are set, target_pages takes precedence

minimum1
string? TargetPages

Comma-separated list of specific pages to process using 1-based indexing. Supports individual pages and ranges. Examples: ‘1,3,5’ (pages 1, 3, 5), ‘1-5’ (pages 1 through 5 inclusive), ‘1,3,5-8,10’ (pages 1, 3, 5-8, and 10). Pages are sorted and deduplicated automatically. Duplicate pages cause an error

ProcessingControl ProcessingControl

Job execution controls including timeouts and failure thresholds

JobFailureConditions JobFailureConditions

Quality thresholds that determine when a job should fail vs complete with partial results

Double? AllowedPageFailureRatio

Maximum ratio of pages allowed to fail before the job fails (0-1). Example: 0.1 means job fails if more than 10% of pages fail. Default is 0.05 (5%)

exclusiveMinimum0
maximum1
Boolean? FailOnBuggyFont

Fail the job if a problematic font is detected that may cause incorrect text extraction. Buggy fonts can produce garbled or missing characters

Boolean? FailOnImageExtractionError

Fail the entire job if any embedded image cannot be extracted. By default, image extraction errors are logged but don’t fail the job

Boolean? FailOnImageOcrError

Fail the entire job if OCR fails on any image. By default, OCR errors result in empty text for that image

Boolean? FailOnMarkdownReconstructionError

Fail the entire job if markdown cannot be reconstructed for any page. By default, failed pages use fallback text extraction

Timeouts Timeouts

Timeout settings for job execution. Increase for large or complex documents

Long? BaseInSeconds

Base timeout for the job in seconds (max 7200 = 2 hours). This is the minimum time allowed regardless of document size

exclusiveMinimum0
maximum7200
Long? ExtraTimePerPageInSeconds

Additional timeout per page in seconds (max 300 = 5 minutes). Total timeout = base + (this value × page count)

exclusiveMinimum0
maximum300
ProcessingOptions ProcessingOptions

Document processing options including OCR, table extraction, and chart parsing

Boolean? AggressiveTableExtraction

Use aggressive heuristics to detect table boundaries, even without visible borders. Useful for documents with borderless or complex tables

IReadOnlyList<AutoModeConfiguration>? AutoModeConfiguration

Conditional processing rules that apply different parsing options based on page content, document structure, or filename patterns. Each entry defines trigger conditions and the parsing configuration to apply when triggered

required ParsingConf ParsingConf

Parsing configuration to apply when trigger conditions are met

Boolean? AdaptiveLongTable

Whether to use adaptive long table handling

Boolean? AggressiveTableExtraction

Whether to use aggressive table extraction

CropBox? CropBox

Crop box options for auto mode parsing configuration.

Double? Bottom

Bottom boundary of crop box as ratio (0-1)

maximum1
minimum0
Double? Left

Left boundary of crop box as ratio (0-1)

maximum1
minimum0
Double? Right

Right boundary of crop box as ratio (0-1)

maximum1
minimum0
Double? Top

Top boundary of crop box as ratio (0-1)

maximum1
minimum0
string? CustomPrompt

Custom AI instructions for matched pages. Overrides the base custom_prompt

Boolean? ExtractLayout

Whether to extract layout information

Boolean? HighResOcr

Whether to use high resolution OCR

Ignore? Ignore

Ignore options for auto mode parsing configuration.

Boolean? IgnoreDiagonalText

Whether to ignore diagonal text in the document

Boolean? IgnoreHiddenText

Whether to ignore hidden text in the document

string? Language

Primary language of the document

Boolean? OutlinedTableExtraction

Whether to use outlined table extraction

Presentation? Presentation

Presentation-specific options for auto mode parsing configuration.

Boolean? OutOfBoundsContent

Extract out of bounds content in presentation slides

Boolean? SkipEmbeddedData

Skip extraction of embedded data for charts in presentation slides

SpatialText? SpatialText

Spatial text options for auto mode parsing configuration.

Boolean? DoNotUnrollColumns

Keep column structure intact without unrolling

Boolean? PreserveLayoutAlignmentAcrossPages

Preserve text alignment across page boundaries

Boolean? PreserveVerySmallText

Include very small text in spatial output

SpecializedChartParsing? SpecializedChartParsing

Enable specialized chart parsing with the specified mode

One of the following:
"agentic"Agentic
"agentic_plus"AgenticPlus
"efficient"Efficient
Tier? Tier

Override the parsing tier for matched pages. Must be paired with version

One of the following:
"agentic"Agentic
"agentic_plus"AgenticPlus
"cost_effective"CostEffective
"fast"Fast
Version? Version

Version for the override tier. Required when tier is set. Use latest, or pin one of that tier’s dated versions.

Current latest by tier:

  • fast: 2026-06-15
  • cost_effective: 2026-06-26
  • agentic: 2026-07-15
  • agentic_plus: 2026-07-08

Full list: GET /api/v2/parse/versions.

One of the following:
"latest"Latest
"2026-07-15"2026_07_15
"2026-07-08"2026_07_08
"2026-06-26"2026_06_26
"2026-06-15"2026_06_15
string? FilenameMatchGlob

Single glob pattern to match against filename

IReadOnlyList<string>? FilenameMatchGlobList

List of glob patterns to match against filename

string? FilenameRegexp

Regex pattern to match against filename

string? FilenameRegexpMode

Regex mode flags (e.g., ‘i’ for case-insensitive)

Boolean? FullPageImageInPage

Trigger if page contains a full-page image (scanned page detection)

FullPageImageInPageThreshold? FullPageImageInPageThreshold

Threshold for full page image detection (0.0-1.0, default 0.8)

One of the following:
Double
string
Boolean? ImageInPage

Trigger if page contains non-screenshot images

string? LayoutElementInPage

Trigger if page contains this layout element type

LayoutElementInPageConfidenceThreshold? LayoutElementInPageConfidenceThreshold

Confidence threshold for layout element detection

One of the following:
Double
string
PageContainsAtLeastNCharts? PageContainsAtLeastNCharts

Trigger if page has more than N charts

One of the following:
Long
string
PageContainsAtLeastNImages? PageContainsAtLeastNImages

Trigger if page has more than N images

One of the following:
Long
string
PageContainsAtLeastNLayoutElements? PageContainsAtLeastNLayoutElements

Trigger if page has more than N layout elements

One of the following:
Long
string
PageContainsAtLeastNLines? PageContainsAtLeastNLines

Trigger if page has more than N lines

One of the following:
Long
string

Trigger if page has more than N links

One of the following:
PageContainsAtLeastNNumbers? PageContainsAtLeastNNumbers

Trigger if page has more than N numeric words

One of the following:
Long
string
PageContainsAtLeastNPercentNumbers? PageContainsAtLeastNPercentNumbers

Trigger if page has more than N% numeric words

One of the following:
Long
string
PageContainsAtLeastNTables? PageContainsAtLeastNTables

Trigger if page has more than N tables

One of the following:
Long
string
PageContainsAtLeastNWords? PageContainsAtLeastNWords

Trigger if page has more than N words

One of the following:
Long
string
PageContainsAtMostNCharts? PageContainsAtMostNCharts

Trigger if page has fewer than N charts

One of the following:
Long
string
PageContainsAtMostNImages? PageContainsAtMostNImages

Trigger if page has fewer than N images

One of the following:
Long
string
PageContainsAtMostNLayoutElements? PageContainsAtMostNLayoutElements

Trigger if page has fewer than N layout elements

One of the following:
Long
string
PageContainsAtMostNLines? PageContainsAtMostNLines

Trigger if page has fewer than N lines

One of the following:
Long
string

Trigger if page has fewer than N links

One of the following:
PageContainsAtMostNNumbers? PageContainsAtMostNNumbers

Trigger if page has fewer than N numeric words

One of the following:
Long
string
PageContainsAtMostNPercentNumbers? PageContainsAtMostNPercentNumbers

Trigger if page has fewer than N% numeric words

One of the following:
Long
string
PageContainsAtMostNTables? PageContainsAtMostNTables

Trigger if page has fewer than N tables

One of the following:
Long
string
PageContainsAtMostNWords? PageContainsAtMostNWords

Trigger if page has fewer than N words

One of the following:
Long
string
PageLongerThanNChars? PageLongerThanNChars

Trigger if page has more than N characters

One of the following:
Long
string
Boolean? PageMdError

Trigger on pages with markdown extraction errors

PageShorterThanNChars? PageShorterThanNChars

Trigger if page has fewer than N characters

One of the following:
Long
string
string? RegexpInPage

Regex pattern to match in page content

string? RegexpInPageMode

Regex mode flags for regexp_in_page

Boolean? TableInPage

Trigger if page contains a table

string? TextInPage

Trigger if page text/markdown contains this string

string? TriggerMode

How to combine multiple trigger conditions: ‘and’ (all conditions must match, this is the default) or ‘or’ (any single condition can trigger)

ConfidenceScoreEffort? ConfidenceScoreEffort

Confidence scoring effort. Omit for standard scoring. ‘high’: more accurate assessment of the parsing quality of every page, plus a document-level score in the result metadata; costs an additional 5 credits per page

CostOptimizer? CostOptimizer

Cost optimizer configuration for reducing parsing costs on simpler pages.

When enabled, the parser analyzes each page and routes simpler pages to faster, cheaper processing while preserving quality for complex pages. Only works with ‘agentic’ or ‘agentic_plus’ tiers.

Boolean? Enable

Enable cost-optimized parsing. Routes simpler pages to faster processing while complex pages use full AI analysis. May reduce speed on some documents. IMPORTANT: Only available with ‘agentic’ or ‘agentic_plus’ tiers

Boolean? DisableHeuristics

Disable automatic heuristics including outlined table extraction and adaptive long table handling. Use when heuristics produce incorrect results

Forms? Forms

Beta: set to ‘enrich’ to run an additional AI form-analysis pass on pages detected as forms, producing a structured tree of the form’s sections, fields, and fillable grids. Retrieve the result with expand=forms. ‘default’ (the default) applies standard parsing with no extra pass. Not available on the fast tier

One of the following:
"default"Default
"enrich"Enrich
Ignore Ignore

Options for ignoring specific text types (diagonal, hidden, text in images)

Boolean? IgnoreDiagonalText

Skip text rotated at an angle (not horizontal/vertical). Useful for ignoring watermarks or decorative angled text

Boolean? IgnoreHiddenText

Skip text marked as hidden in the document structure. Some PDFs contain invisible text layers used for accessibility or search indexing

Boolean? IgnoreTextInImage

Skip OCR text extraction from embedded images. Use when images contain irrelevant text (watermarks, logos) that shouldn’t be in the output

OcrParameters OcrParameters

OCR configuration including language detection settings

IReadOnlyList<ParsingLanguages>? Languages

Languages to use for OCR text recognition. Specify multiple languages if document contains mixed-language content. Order matters - put primary language first. Example: [‘en’, ‘es’] for English with Spanish

One of the following:
"abq"Abq
"ady"Ady
"af"Af
"ang"Ang
"ar"Ar
"as"As
"ava"Ava
"az"Az
"be"Be
"bg"Bg
"bgc"Bgc
"bh"Bh
"bho"Bho
"bn"Bn
"bs"Bs
"ch_sim"ChSim
"ch_tra"ChTra
"che"Che
"cs"Cs
"cy"Cy
"da"Da
"dar"Dar
"de"De
"en"En
"es"Es
"et"Et
"fa"Fa
"fr"Fr
"ga"Ga
"gom"Gom
"hi"Hi
"hr"Hr
"hu"Hu
"id"ID
"inh"Inh
"is"Is
"it"It
"ja"Ja
"kbd"Kbd
"kn"Kn
"ko"Ko
"ku"Ku
"la"La
"lbe"Lbe
"lez"Lez
"lt"Lt
"lv"Lv
"mah"Mah
"mai"Mai
"mi"Mi
"mn"Mn
"mni"Mni
"mr"Mr
"ms"Ms
"mt"Mt
"ne"Ne
"new"New
"nl"Nl
"no"No
"oc"Oc
"pi"Pi
"pl"Pl
"pt"Pt
"ro"Ro
"rs_cyrillic"RsCyrillic
"rs_latin"RsLatin
"ru"Ru
"sa"Sa
"sck"Sck
"sk"Sk
"sl"Sl
"sq"Sq
"sv"Sv
"sw"Sw
"ta"Ta
"tab"Tab
"te"Te
"th"Th
"tjk"Tjk
"tl"Tl
"tr"Tr
"ug"Ug
"uk"Uk
"ur"Ur
"uz"Uz
"vi"Vi
SpecializedChartParsing? SpecializedChartParsing

Enable AI-powered chart analysis. Modes: ‘efficient’ (fast, lower cost), ‘agentic’ (balanced), ‘agentic_plus’ (highest accuracy). Automatically enables extract_layout and precise_bounding_box when set

One of the following:
"agentic"Agentic
"agentic_plus"AgenticPlus
"efficient"Efficient
IReadOnlyList<string>? WebhookConfigurationIds

IDs of saved webhook configurations to notify for this job.

IReadOnlyList<WebhookConfiguration> WebhookConfigurations

Webhook endpoints for job status notifications. Multiple webhooks can be configured for different events or services

IReadOnlyList<string>? WebhookEvents

Events that trigger this webhook. Options: ‘parse.success’ (job completed), ‘parse.error’ (job failed), ‘parse.partial_success’ (some pages failed), ‘parse.pending’, ‘parse.running’, ‘parse.cancelled’. If not specified, webhook fires for all events

IReadOnlyDictionary<string, JsonElement>? WebhookHeaders

Custom HTTP headers to include in webhook requests. Use for authentication tokens or custom routing. Example: {‘Authorization’: ‘Bearer xyz’}

WebhookOutputFormat? WebhookOutputFormat

Format of the webhook payload body. ‘string’ (default) sends the payload as a JSON-encoded string; ‘json’ sends it as a JSON object.

One of the following:
"json"Json
"string"String
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

HTTPS URL to receive webhook POST requests. Must be publicly accessible

class SplitV1Parameters:

Typed parameters for a split v1 product configuration.

required IReadOnlyList<SplitCategory> Categories

Categories to split documents into.

required string Name

Name of the category.

maxLength200
minLength1
string? Description

Optional description of what content belongs in this category.

maxLength2000
minLength1
JsonElement ProductType "split_v1"constant

Product type.

SplittingStrategy SplittingStrategy

Strategy for splitting documents.

AllowUncategorized AllowUncategorized

Controls handling of pages that don’t match any category. ‘include’: pages can be grouped as ‘uncategorized’ and included in results. ‘forbid’: all pages must be assigned to a defined category. ‘omit’: pages can be classified as ‘uncategorized’ but are excluded from results.

One of the following:
"forbid"Forbid
"include"Include
"omit"Omit
class SpreadsheetV1:

Typed parameters for a spreadsheet v1 product configuration.

JsonElement ProductType "spreadsheet_v1"constant

Product type.

string? ExtractionRange

A1 notation of the range to extract a single region from. If None, the entire sheet is used.

Boolean FlattenHierarchicalTables

Return a flattened dataframe when a detected table is recognized as hierarchical.

Boolean GenerateAdditionalMetadata

Deprecated: controlled by tier. Whether to generate additional metadata (title, description) for each extracted region. Honored only on agentic.

Boolean IncludeHiddenCells

Whether to include hidden cells when extracting regions from the spreadsheet.

IReadOnlyList<string>? SheetNames

The names of the sheets to extract regions from. If empty, all sheets will be processed.

string? Specialization

Deprecated: controlled by tier. Optional specialization mode for domain-specific extraction. Supported values: ‘financial-standard’, ‘financial-enhanced’, ‘financial-precise’. Default None uses the general-purpose pipeline. Honored only on agentic.

TableMergeSensitivity TableMergeSensitivity

Deprecated: controlled by tier. Influences how likely similar-looking regions are merged into a single table. Honored only on agentic.

One of the following:
"strong"Strong
"weak"Weak
Tier Tier

Spreadsheet extraction tier. cost_effective uses the rule-based/ML-only pipeline; agentic uses the full pipeline.

One of the following:
"agentic"Agentic
"cost_effective"CostEffective
Boolean UseExperimentalProcessing

Deprecated: controlled by tier. Enables experimental processing. Honored only on agentic.

class UntypedParameters:

Catch-all for configurations without a dedicated typed schema.

Accepts arbitrary JSON fields alongside product_type.

JsonElement ProductType "unknown"constant

Product type.

string? organizationID

Query param

formatuuid
string? projectID

Query param

formatuuid
ReturnsExpand Collapse
class ConfigurationResponse:

Response schema for a single product configuration.

required string ID

Unique configuration ID.

required string Name

Configuration name.

required Parameters Parameters

Product-specific configuration parameters.

One of the following:
class ClassifyV2Parameters:

Typed parameters for a classify v2 product configuration.

JsonElement ProductType "classify_v2"constant

Product type.

required IReadOnlyList<Rule> Rules

Classify rules to evaluate against the document (at least one required)

required string Description

Natural language criteria for matching this rule

maxLength2000
minLength10
required string Type

Document type to assign when rule matches

maxLength50
minLength1
Mode Mode

Classify execution mode

ParsingConfiguration? ParsingConfiguration

Parsing configuration for classify jobs.

string Lang

ISO 639-1 language code for the document

Long? MaxPages

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

minimum1
string? TargetPages

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

class ExtractV2Parameters:

Typed parameters for an extract v2 product configuration.

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
JsonElement ProductType "extract_v2"constant

Product type.

Boolean CiteSources

Include citations in results

Boolean ConfidenceScores

Include confidence scores in results

ExtractionTarget ExtractionTarget

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

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

string? ParseTier

Parse tier to use before extraction. Defaults to the extract tier if not specified.

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), or agentic_plus (50 credits/page)

One of the following:
"agentic"Agentic
"agentic_plus"AgenticPlus
"cost_effective"CostEffective
string Version

Use ‘latest’ for the latest release for the selected tier or a date string (YYYY-MM-DD format) to pin to the nearest release at or before that date. Job responses always report the concrete resolved version the job runs, fixed at job creation; saved configurations keep the value as provided.

class ParseV2Parameters:

Configuration for LlamaParse v2 document parsing.

Includes tier selection, processing options, output formatting, page targeting, and webhook delivery. Refer to the LlamaParse documentation for details on each field.

JsonElement ProductType "parse_v2"constant

Product type.

required Tier Tier

Parsing tier: ‘fast’ (rule-based, cheapest), ‘cost_effective’ (balanced), ‘agentic’ (AI-powered with custom prompts), or ‘agentic_plus’ (premium AI with highest accuracy)

One of the following:
"agentic"Agentic
"agentic_plus"AgenticPlus
"cost_effective"CostEffective
"fast"Fast
required Version Version

Version for the selected tier. Use latest, or pin one of that tier’s dated versions.

Current latest by tier:

  • fast: 2026-06-15
  • cost_effective: 2026-06-26
  • agentic: 2026-07-15
  • agentic_plus: 2026-07-08

Full list: GET /api/v2/parse/versions.

One of the following:
"latest"Latest
"2026-07-15"2026_07_15
"2026-07-08"2026_07_08
"2026-06-26"2026_06_26
"2026-06-15"2026_06_15
AgenticOptions? AgenticOptions

Options for AI-powered parsing tiers (cost_effective, agentic, agentic_plus).

These options customize how the AI processes and interprets document content. Only applicable when using non-fast tiers.

string? CustomPrompt

Custom instructions for the AI parser. Use to guide extraction behavior, specify output formatting, or provide domain-specific context. Example: ‘Extract financial tables with currency symbols. Format dates as YYYY-MM-DD.’

string? ClientName

Identifier for the client/application making the request. Used for analytics and debugging. Example: ‘my-app-v2’

CropBox CropBox

Crop boundaries to process only a portion of each page. Values are ratios 0-1 from page edges

Double? Bottom

Bottom boundary as ratio (0-1). 0=top edge, 1=bottom edge. Content below this line is excluded

maximum1
minimum0
Double? Left

Left boundary as ratio (0-1). 0=left edge, 1=right edge. Content left of this line is excluded

maximum1
minimum0
Double? Right

Right boundary as ratio (0-1). 0=left edge, 1=right edge. Content right of this line is excluded

maximum1
minimum0
Double? Top

Top boundary as ratio (0-1). 0=top edge, 1=bottom edge. Content above this line is excluded

maximum1
minimum0
Boolean? DisableCache

Bypass result caching and force re-parsing. Use when document content may have changed or you need fresh results

JsonElement? FastOptions

Options for fast tier parsing (rule-based, no AI).

Fast tier uses deterministic algorithms for text extraction without AI enhancement. It’s the fastest and most cost-effective option, best suited for simple documents with standard layouts. Currently has no configurable options but reserved for future expansion.

InputOptions InputOptions

Format-specific options (HTML, PDF, spreadsheet, presentation). Applied based on detected input file type

Html Html

HTML/web page parsing options (applies to .html, .htm files)

Boolean? MakeAllElementsVisible

Force all HTML elements to be visible by overriding CSS display/visibility properties. Useful for parsing pages with hidden content or collapsed sections

Boolean? RemoveFixedElements

Remove fixed-position elements (headers, footers, floating buttons) that appear on every page render

Boolean? RemoveNavigationElements

Remove navigation elements (nav bars, sidebars, menus) to focus on main content

Image Image

Image parsing options (applies to .jpg, .jpeg, .png, .webp files)

Boolean? CameraPhotoCorrection

Detect documents photographed with a camera (e.g. phone scans of receipts or forms), then crop, perspective-correct, and flatten uneven lighting and shadows before parsing. Supports JPEG, PNG, WebP, and HEIC/HEIF inputs. Improves results when the document is tilted or surrounded by background. Images that already look like clean scans are left untouched

JsonElement Pdf

PDF-specific parsing options (applies to .pdf files)

Presentation Presentation

Presentation parsing options (applies to .pptx, .ppt, .odp, .key files)

Boolean? OutOfBoundsContent

Extract content positioned outside the visible slide area. Some presentations have hidden notes or content that extends beyond slide boundaries

Boolean? SkipEmbeddedData

Skip extraction of embedded chart data tables. When true, only the visual representation of charts is captured, not the underlying data

Spreadsheet Spreadsheet

Spreadsheet parsing options (applies to .xlsx, .xls, .csv, .ods files)

Boolean? DetectSubTablesInSheets

Detect and extract multiple tables within a single sheet. Useful when spreadsheets contain several data regions separated by blank rows/columns

Boolean? ForceFormulaComputationInSheets

Compute formula results instead of extracting formula text. Use when you need calculated values rather than formula definitions

Boolean? IncludeHiddenSheets

Parse hidden sheets in addition to visible ones. By default, hidden sheets are skipped

OutputOptions OutputOptions

Output formatting options for markdown, text, and extracted images

IReadOnlyList<string> AdditionalOutputs

Optional additional output artifacts to save alongside the primary parse output. Each value opts in to generating and persisting one extra file; the empty list (default) saves none. The three accepted values are: ‘stripped_md’ — per-page markdown stripped of formatting (links, bold/italic, images, HTML), saved as JSON for full-text-search indexing; fetch via expand=stripped_markdown_content_metadata. ‘concatenated_stripped_txt’ — all stripped pages concatenated into a single plain-text file with \n\n---\n\n between pages, useful for feeding the document into search or embedding pipelines as one blob; fetch via expand=concatenated_stripped_markdown_content_metadata. ‘word_bbox’ — raw word-level bounding boxes (one JSON object per word, with page number and x/y/w/h coordinates) saved as JSONL, useful for highlighting or grounding extracted answers back to the source document; fetch via expand=raw_words_content_metadata.

Boolean? ExtractPrintedPageNumber

Extract the printed page number as it appears in the document (e.g., ‘Page 5 of 10’, ‘v’, ‘A-3’). Useful for referencing original page numbers

IReadOnlyList<GranularBbox> GranularBboxes

Bounding-box granularity levels to compute for the parse. ‘word’ computes one bounding box per detected word; ‘line’ computes one per text line; ‘cell’ computes one per table cell. Multiple levels can be requested. Empty list (default) disables granular bboxes — only item-level layout boxes are returned on the result. When set, the computed boxes are not inlined on the result items; they are written to a separate grounded_items sidecar (JSONL, one row per page) and exposed as result_content_metadata.grounded_items (a presigned download URL) on the parse result. Each row matches the GroundedJsonItem shape.

One of the following:
"cell"Cell
"line"Line
"word"Word
IReadOnlyList<ImagesToSave> ImagesToSave

Image categories to extract and save. Options: ‘screenshot’ (full page renders useful for visual QA), ‘embedded’ (images found within the document), ‘layout’ (cropped regions from layout detection like figures and diagrams). Empty list saves no images

One of the following:
"embedded"Embedded
"layout"Layout
"screenshot"Screenshot
Markdown Markdown

Markdown formatting options including table styles and link annotations

Add link annotations to markdown output in the format text. When false, only the link text is included

Boolean? InlineImages

Embed images directly in markdown as base64 data URIs instead of extracting them as separate files. Useful for self-contained markdown output

Tables Tables

Table formatting options including markdown vs HTML format and merging behavior

Boolean? CompactMarkdownTables

Remove extra whitespace padding in markdown table cells for more compact output

string? MarkdownTableMultilineSeparator

Separator string for multiline cell content in markdown tables. Example: ‘<br>’ to preserve line breaks, ’ ’ to join with spaces

Boolean? MergeContinuedTables

Automatically merge tables that span multiple pages into a single table. The merged table appears on the first page with merged_from_pages metadata

Boolean? OutputTablesAsMarkdown

Output tables as markdown pipe tables instead of HTML <table> tags. Markdown tables are simpler but cannot represent complex structures like merged cells

SpatialText SpatialText

Spatial text output options for preserving document layout structure

Boolean? DoNotUnrollColumns

Keep multi-column layouts intact instead of linearizing columns into sequential text. Automatically enabled for non-fast tiers

Boolean? PreserveLayoutAlignmentAcrossPages

Maintain consistent text column alignment across page boundaries. Automatically enabled for document-level parsing modes

Boolean? PreserveVerySmallText

Include text below the normal size threshold. Useful for footnotes, watermarks, or fine print that might otherwise be filtered out

TablesAsSpreadsheet TablesAsSpreadsheet

Options for exporting tables as XLSX spreadsheets

Boolean? Enable

Whether this option is enabled

Boolean GuessSheetName

Automatically generate descriptive sheet names from table context (headers, surrounding text) instead of using generic names like ‘Table_1’

PageRanges PageRanges

Page selection: limit total pages or specify exact pages to process

Long? MaxPages

Maximum number of pages to process. Pages are processed in order starting from page 1. If both max_pages and target_pages are set, target_pages takes precedence

minimum1
string? TargetPages

Comma-separated list of specific pages to process using 1-based indexing. Supports individual pages and ranges. Examples: ‘1,3,5’ (pages 1, 3, 5), ‘1-5’ (pages 1 through 5 inclusive), ‘1,3,5-8,10’ (pages 1, 3, 5-8, and 10). Pages are sorted and deduplicated automatically. Duplicate pages cause an error

ProcessingControl ProcessingControl

Job execution controls including timeouts and failure thresholds

JobFailureConditions JobFailureConditions

Quality thresholds that determine when a job should fail vs complete with partial results

Double? AllowedPageFailureRatio

Maximum ratio of pages allowed to fail before the job fails (0-1). Example: 0.1 means job fails if more than 10% of pages fail. Default is 0.05 (5%)

exclusiveMinimum0
maximum1
Boolean? FailOnBuggyFont

Fail the job if a problematic font is detected that may cause incorrect text extraction. Buggy fonts can produce garbled or missing characters

Boolean? FailOnImageExtractionError

Fail the entire job if any embedded image cannot be extracted. By default, image extraction errors are logged but don’t fail the job

Boolean? FailOnImageOcrError

Fail the entire job if OCR fails on any image. By default, OCR errors result in empty text for that image

Boolean? FailOnMarkdownReconstructionError

Fail the entire job if markdown cannot be reconstructed for any page. By default, failed pages use fallback text extraction

Timeouts Timeouts

Timeout settings for job execution. Increase for large or complex documents

Long? BaseInSeconds

Base timeout for the job in seconds (max 7200 = 2 hours). This is the minimum time allowed regardless of document size

exclusiveMinimum0
maximum7200
Long? ExtraTimePerPageInSeconds

Additional timeout per page in seconds (max 300 = 5 minutes). Total timeout = base + (this value × page count)

exclusiveMinimum0
maximum300
ProcessingOptions ProcessingOptions

Document processing options including OCR, table extraction, and chart parsing

Boolean? AggressiveTableExtraction

Use aggressive heuristics to detect table boundaries, even without visible borders. Useful for documents with borderless or complex tables

IReadOnlyList<AutoModeConfiguration>? AutoModeConfiguration

Conditional processing rules that apply different parsing options based on page content, document structure, or filename patterns. Each entry defines trigger conditions and the parsing configuration to apply when triggered

required ParsingConf ParsingConf

Parsing configuration to apply when trigger conditions are met

Boolean? AdaptiveLongTable

Whether to use adaptive long table handling

Boolean? AggressiveTableExtraction

Whether to use aggressive table extraction

CropBox? CropBox

Crop box options for auto mode parsing configuration.

Double? Bottom

Bottom boundary of crop box as ratio (0-1)

maximum1
minimum0
Double? Left

Left boundary of crop box as ratio (0-1)

maximum1
minimum0
Double? Right

Right boundary of crop box as ratio (0-1)

maximum1
minimum0
Double? Top

Top boundary of crop box as ratio (0-1)

maximum1
minimum0
string? CustomPrompt

Custom AI instructions for matched pages. Overrides the base custom_prompt

Boolean? ExtractLayout

Whether to extract layout information

Boolean? HighResOcr

Whether to use high resolution OCR

Ignore? Ignore

Ignore options for auto mode parsing configuration.

Boolean? IgnoreDiagonalText

Whether to ignore diagonal text in the document

Boolean? IgnoreHiddenText

Whether to ignore hidden text in the document

string? Language

Primary language of the document

Boolean? OutlinedTableExtraction

Whether to use outlined table extraction

Presentation? Presentation

Presentation-specific options for auto mode parsing configuration.

Boolean? OutOfBoundsContent

Extract out of bounds content in presentation slides

Boolean? SkipEmbeddedData

Skip extraction of embedded data for charts in presentation slides

SpatialText? SpatialText

Spatial text options for auto mode parsing configuration.

Boolean? DoNotUnrollColumns

Keep column structure intact without unrolling

Boolean? PreserveLayoutAlignmentAcrossPages

Preserve text alignment across page boundaries

Boolean? PreserveVerySmallText

Include very small text in spatial output

SpecializedChartParsing? SpecializedChartParsing

Enable specialized chart parsing with the specified mode

One of the following:
"agentic"Agentic
"agentic_plus"AgenticPlus
"efficient"Efficient
Tier? Tier

Override the parsing tier for matched pages. Must be paired with version

One of the following:
"agentic"Agentic
"agentic_plus"AgenticPlus
"cost_effective"CostEffective
"fast"Fast
Version? Version

Version for the override tier. Required when tier is set. Use latest, or pin one of that tier’s dated versions.

Current latest by tier:

  • fast: 2026-06-15
  • cost_effective: 2026-06-26
  • agentic: 2026-07-15
  • agentic_plus: 2026-07-08

Full list: GET /api/v2/parse/versions.

One of the following:
"latest"Latest
"2026-07-15"2026_07_15
"2026-07-08"2026_07_08
"2026-06-26"2026_06_26
"2026-06-15"2026_06_15
string? FilenameMatchGlob

Single glob pattern to match against filename

IReadOnlyList<string>? FilenameMatchGlobList

List of glob patterns to match against filename

string? FilenameRegexp

Regex pattern to match against filename

string? FilenameRegexpMode

Regex mode flags (e.g., ‘i’ for case-insensitive)

Boolean? FullPageImageInPage

Trigger if page contains a full-page image (scanned page detection)

FullPageImageInPageThreshold? FullPageImageInPageThreshold

Threshold for full page image detection (0.0-1.0, default 0.8)

One of the following:
Double
string
Boolean? ImageInPage

Trigger if page contains non-screenshot images

string? LayoutElementInPage

Trigger if page contains this layout element type

LayoutElementInPageConfidenceThreshold? LayoutElementInPageConfidenceThreshold

Confidence threshold for layout element detection

One of the following:
Double
string
PageContainsAtLeastNCharts? PageContainsAtLeastNCharts

Trigger if page has more than N charts

One of the following:
Long
string
PageContainsAtLeastNImages? PageContainsAtLeastNImages

Trigger if page has more than N images

One of the following:
Long
string
PageContainsAtLeastNLayoutElements? PageContainsAtLeastNLayoutElements

Trigger if page has more than N layout elements

One of the following:
Long
string
PageContainsAtLeastNLines? PageContainsAtLeastNLines

Trigger if page has more than N lines

One of the following:
Long
string

Trigger if page has more than N links

One of the following:
PageContainsAtLeastNNumbers? PageContainsAtLeastNNumbers

Trigger if page has more than N numeric words

One of the following:
Long
string
PageContainsAtLeastNPercentNumbers? PageContainsAtLeastNPercentNumbers

Trigger if page has more than N% numeric words

One of the following:
Long
string
PageContainsAtLeastNTables? PageContainsAtLeastNTables

Trigger if page has more than N tables

One of the following:
Long
string
PageContainsAtLeastNWords? PageContainsAtLeastNWords

Trigger if page has more than N words

One of the following:
Long
string
PageContainsAtMostNCharts? PageContainsAtMostNCharts

Trigger if page has fewer than N charts

One of the following:
Long
string
PageContainsAtMostNImages? PageContainsAtMostNImages

Trigger if page has fewer than N images

One of the following:
Long
string
PageContainsAtMostNLayoutElements? PageContainsAtMostNLayoutElements

Trigger if page has fewer than N layout elements

One of the following:
Long
string
PageContainsAtMostNLines? PageContainsAtMostNLines

Trigger if page has fewer than N lines

One of the following:
Long
string

Trigger if page has fewer than N links

One of the following:
PageContainsAtMostNNumbers? PageContainsAtMostNNumbers

Trigger if page has fewer than N numeric words

One of the following:
Long
string
PageContainsAtMostNPercentNumbers? PageContainsAtMostNPercentNumbers

Trigger if page has fewer than N% numeric words

One of the following:
Long
string
PageContainsAtMostNTables? PageContainsAtMostNTables

Trigger if page has fewer than N tables

One of the following:
Long
string
PageContainsAtMostNWords? PageContainsAtMostNWords

Trigger if page has fewer than N words

One of the following:
Long
string
PageLongerThanNChars? PageLongerThanNChars

Trigger if page has more than N characters

One of the following:
Long
string
Boolean? PageMdError

Trigger on pages with markdown extraction errors

PageShorterThanNChars? PageShorterThanNChars

Trigger if page has fewer than N characters

One of the following:
Long
string
string? RegexpInPage

Regex pattern to match in page content

string? RegexpInPageMode

Regex mode flags for regexp_in_page

Boolean? TableInPage

Trigger if page contains a table

string? TextInPage

Trigger if page text/markdown contains this string

string? TriggerMode

How to combine multiple trigger conditions: ‘and’ (all conditions must match, this is the default) or ‘or’ (any single condition can trigger)

ConfidenceScoreEffort? ConfidenceScoreEffort

Confidence scoring effort. Omit for standard scoring. ‘high’: more accurate assessment of the parsing quality of every page, plus a document-level score in the result metadata; costs an additional 5 credits per page

CostOptimizer? CostOptimizer

Cost optimizer configuration for reducing parsing costs on simpler pages.

When enabled, the parser analyzes each page and routes simpler pages to faster, cheaper processing while preserving quality for complex pages. Only works with ‘agentic’ or ‘agentic_plus’ tiers.

Boolean? Enable

Enable cost-optimized parsing. Routes simpler pages to faster processing while complex pages use full AI analysis. May reduce speed on some documents. IMPORTANT: Only available with ‘agentic’ or ‘agentic_plus’ tiers

Boolean? DisableHeuristics

Disable automatic heuristics including outlined table extraction and adaptive long table handling. Use when heuristics produce incorrect results

Forms? Forms

Beta: set to ‘enrich’ to run an additional AI form-analysis pass on pages detected as forms, producing a structured tree of the form’s sections, fields, and fillable grids. Retrieve the result with expand=forms. ‘default’ (the default) applies standard parsing with no extra pass. Not available on the fast tier

One of the following:
"default"Default
"enrich"Enrich
Ignore Ignore

Options for ignoring specific text types (diagonal, hidden, text in images)

Boolean? IgnoreDiagonalText

Skip text rotated at an angle (not horizontal/vertical). Useful for ignoring watermarks or decorative angled text

Boolean? IgnoreHiddenText

Skip text marked as hidden in the document structure. Some PDFs contain invisible text layers used for accessibility or search indexing

Boolean? IgnoreTextInImage

Skip OCR text extraction from embedded images. Use when images contain irrelevant text (watermarks, logos) that shouldn’t be in the output

OcrParameters OcrParameters

OCR configuration including language detection settings

IReadOnlyList<ParsingLanguages>? Languages

Languages to use for OCR text recognition. Specify multiple languages if document contains mixed-language content. Order matters - put primary language first. Example: [‘en’, ‘es’] for English with Spanish

One of the following:
"abq"Abq
"ady"Ady
"af"Af
"ang"Ang
"ar"Ar
"as"As
"ava"Ava
"az"Az
"be"Be
"bg"Bg
"bgc"Bgc
"bh"Bh
"bho"Bho
"bn"Bn
"bs"Bs
"ch_sim"ChSim
"ch_tra"ChTra
"che"Che
"cs"Cs
"cy"Cy
"da"Da
"dar"Dar
"de"De
"en"En
"es"Es
"et"Et
"fa"Fa
"fr"Fr
"ga"Ga
"gom"Gom
"hi"Hi
"hr"Hr
"hu"Hu
"id"ID
"inh"Inh
"is"Is
"it"It
"ja"Ja
"kbd"Kbd
"kn"Kn
"ko"Ko
"ku"Ku
"la"La
"lbe"Lbe
"lez"Lez
"lt"Lt
"lv"Lv
"mah"Mah
"mai"Mai
"mi"Mi
"mn"Mn
"mni"Mni
"mr"Mr
"ms"Ms
"mt"Mt
"ne"Ne
"new"New
"nl"Nl
"no"No
"oc"Oc
"pi"Pi
"pl"Pl
"pt"Pt
"ro"Ro
"rs_cyrillic"RsCyrillic
"rs_latin"RsLatin
"ru"Ru
"sa"Sa
"sck"Sck
"sk"Sk
"sl"Sl
"sq"Sq
"sv"Sv
"sw"Sw
"ta"Ta
"tab"Tab
"te"Te
"th"Th
"tjk"Tjk
"tl"Tl
"tr"Tr
"ug"Ug
"uk"Uk
"ur"Ur
"uz"Uz
"vi"Vi
SpecializedChartParsing? SpecializedChartParsing

Enable AI-powered chart analysis. Modes: ‘efficient’ (fast, lower cost), ‘agentic’ (balanced), ‘agentic_plus’ (highest accuracy). Automatically enables extract_layout and precise_bounding_box when set

One of the following:
"agentic"Agentic
"agentic_plus"AgenticPlus
"efficient"Efficient
IReadOnlyList<string>? WebhookConfigurationIds

IDs of saved webhook configurations to notify for this job.

IReadOnlyList<WebhookConfiguration> WebhookConfigurations

Webhook endpoints for job status notifications. Multiple webhooks can be configured for different events or services

IReadOnlyList<string>? WebhookEvents

Events that trigger this webhook. Options: ‘parse.success’ (job completed), ‘parse.error’ (job failed), ‘parse.partial_success’ (some pages failed), ‘parse.pending’, ‘parse.running’, ‘parse.cancelled’. If not specified, webhook fires for all events

IReadOnlyDictionary<string, JsonElement>? WebhookHeaders

Custom HTTP headers to include in webhook requests. Use for authentication tokens or custom routing. Example: {‘Authorization’: ‘Bearer xyz’}

WebhookOutputFormat? WebhookOutputFormat

Format of the webhook payload body. ‘string’ (default) sends the payload as a JSON-encoded string; ‘json’ sends it as a JSON object.

One of the following:
"json"Json
"string"String
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

HTTPS URL to receive webhook POST requests. Must be publicly accessible

class SplitV1Parameters:

Typed parameters for a split v1 product configuration.

required IReadOnlyList<SplitCategory> Categories

Categories to split documents into.

required string Name

Name of the category.

maxLength200
minLength1
string? Description

Optional description of what content belongs in this category.

maxLength2000
minLength1
JsonElement ProductType "split_v1"constant

Product type.

SplittingStrategy SplittingStrategy

Strategy for splitting documents.

AllowUncategorized AllowUncategorized

Controls handling of pages that don’t match any category. ‘include’: pages can be grouped as ‘uncategorized’ and included in results. ‘forbid’: all pages must be assigned to a defined category. ‘omit’: pages can be classified as ‘uncategorized’ but are excluded from results.

One of the following:
"forbid"Forbid
"include"Include
"omit"Omit
class SpreadsheetV1:

Typed parameters for a spreadsheet v1 product configuration.

JsonElement ProductType "spreadsheet_v1"constant

Product type.

string? ExtractionRange

A1 notation of the range to extract a single region from. If None, the entire sheet is used.

Boolean FlattenHierarchicalTables

Return a flattened dataframe when a detected table is recognized as hierarchical.

Boolean GenerateAdditionalMetadata

Deprecated: controlled by tier. Whether to generate additional metadata (title, description) for each extracted region. Honored only on agentic.

Boolean IncludeHiddenCells

Whether to include hidden cells when extracting regions from the spreadsheet.

IReadOnlyList<string>? SheetNames

The names of the sheets to extract regions from. If empty, all sheets will be processed.

string? Specialization

Deprecated: controlled by tier. Optional specialization mode for domain-specific extraction. Supported values: ‘financial-standard’, ‘financial-enhanced’, ‘financial-precise’. Default None uses the general-purpose pipeline. Honored only on agentic.

TableMergeSensitivity TableMergeSensitivity

Deprecated: controlled by tier. Influences how likely similar-looking regions are merged into a single table. Honored only on agentic.

One of the following:
"strong"Strong
"weak"Weak
Tier Tier

Spreadsheet extraction tier. cost_effective uses the rule-based/ML-only pipeline; agentic uses the full pipeline.

One of the following:
"agentic"Agentic
"cost_effective"CostEffective
Boolean UseExperimentalProcessing

Deprecated: controlled by tier. Enables experimental processing. Honored only on agentic.

class UntypedParameters:

Catch-all for configurations without a dedicated typed schema.

Accepts arbitrary JSON fields alongside product_type.

JsonElement ProductType "unknown"constant

Product type.

required ProductType ProductType

Product type.

One of the following:
"classify_v2"ClassifyV2
"extract_v2"ExtractV2
"parse_v2"ParseV2
"split_v1"SplitV1
"spreadsheet_v1"SpreadsheetV1
"unknown"Unknown
required string Version

Version identifier (datetime string).

DateTimeOffset? CreatedAt

Creation timestamp.

formatdate-time
DateTimeOffset? UpdatedAt

Last update timestamp.

formatdate-time

Create Configuration

ConfigurationCreateParams parameters = new()
{
    Name = "x",
    Parameters = new ClassifyV2Parameters()
    {
        Rules =
        [
            new()
            {
                Description = "contains invoice number, line items, and total amount",
                Type = "invoice",
            },
        ],
        Mode = Mode.Fast,
        ParsingConfiguration = new()
        {
            Lang = "en",
            MaxPages = 10,
            TargetPages = "1,3,5-7",
        },
    },
};

var configurationResponse = await client.Configurations.Create(parameters);

Console.WriteLine(configurationResponse);
{
  "id": "id",
  "name": "name",
  "parameters": {
    "product_type": "classify_v2",
    "rules": [
      {
        "description": "contains invoice number, line items, and total amount",
        "type": "invoice"
      }
    ],
    "mode": "FAST",
    "parsing_configuration": {
      "lang": "en",
      "max_pages": 10,
      "target_pages": "1,3,5-7"
    }
  },
  "product_type": "classify_v2",
  "version": "version",
  "created_at": "2019-12-27T18:11:19.117Z",
  "updated_at": "2019-12-27T18:11:19.117Z"
}
Returns Examples
{
  "id": "id",
  "name": "name",
  "parameters": {
    "product_type": "classify_v2",
    "rules": [
      {
        "description": "contains invoice number, line items, and total amount",
        "type": "invoice"
      }
    ],
    "mode": "FAST",
    "parsing_configuration": {
      "lang": "en",
      "max_pages": 10,
      "target_pages": "1,3,5-7"
    }
  },
  "product_type": "classify_v2",
  "version": "version",
  "created_at": "2019-12-27T18:11:19.117Z",
  "updated_at": "2019-12-27T18:11:19.117Z"
}
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/