Enabling every option does not necessarily improve the result. Some options increase response size or processing time.
Configuration object
Common configurations
- RAG and search
- Complex tables
- Scanned or photographed pages
Use this configuration when you need structure-aware chunks, headings, and table content.This returns:
- Heading and section relationships
- A document title tree
- Structured table data
Capabilities
include_hierarchy
Return parent-child relationships between elements.
When enabled, elements may include relationship metadata such as parent and child element identifiers.
Use for:
- RAG chunking with context preservation
- Document navigation
- Hierarchical content analysis
include_table_structure
Return detailed table structure with rows, columns, cells, spans, and cell coordinates.
Use for:
- Programmatic table processing
- Financial report analysis
- Database imports
- Extracting specific cells
include_inline_objects
Return formulas, handwriting, checkboxes, and inline images within text when detected.
Use for:
- Scientific papers
- Mathematical documents
- Forms with checkboxes
- Mixed-content documents
include_image_data
Return image URLs or image data for Image elements.
Use for:
- Downloading images from documents
- Image processing pipelines
- Visual content extraction
include_char_details
Return character-level coordinates and confidence scores when available.
pages
Return page-level metadata.
Page metadata can include page dimensions, rotation, and element references.
title_tree
Return a document outline based on detected headings.
Use for:
- Table of contents generation
- Section-aware navigation
- Structure-aware chunking
table_view
Choose the text representation for table elements.
Use
html when complex tables cannot be represented clearly in Markdown.
remove_watermark
Attempt to remove visible watermarks before recognition.
Enable this only when watermarks interfere with text recognition.
crop_dewarp
Correct skewed, curved, or photographed pages before recognition.
Enable this when pages are rotated, curved, cropped unevenly, or photographed at an angle.
Scope
page_range
Parse only selected pages.
page_range to:
- Test parsing on a subset of pages
- Reduce processing time
- Split a document that exceeds page limits
- Process only the pages your application needs
Document settings
password
Pass the password for a password-protected PDF.
Advanced configuration
force_engine
Force a specific parsing engine when supported.
engine_params
Pass engine-specific parameters.
Engine parameters may change across engines and versions. Use them only when you have a documented requirement.
Performance tips
- Use the default configuration for the first integration.
- Enable table structure only when you need cell-level table data.
- Enable character details only when you need character-level coordinates or confidence scores.
- Use
page_rangeto test large documents before parsing the full file. - Use the asynchronous API for large documents, batch processing, or workflows that do not need the result in the original request.
Related resources
Parse Quickstart
Parse your first document.
Response Format
Understand the response structure.
Async Processing
Process large documents asynchronously.
Supported Files & Limits
Review supported formats and limits.

