Skip to content

Table Extraction

Table extraction options allow you to configure how tables are detected and extracted from documents. These options are available for all tiers.

Use processing_options to configure these options.

Enable more aggressive table detection and extraction methods. This may capture more tables but could also introduce false positives.

{
"tier": "agentic",
"version": "latest",
"processing_options": {
"aggressive_table_extraction": true
}
}

Disable table-related heuristics including outlined table extraction and adaptive long table handling. Use this when the default heuristics are producing unwanted results.

{
"tier": "agentic",
"version": "latest",
"processing_options": {
"disable_heuristics": true
}
}

When enabled, this disables:

  • Outlined table extraction: Detection of tables with visible borders
  • Adaptive long table handling: Special handling for long tables
{
"tier": "fast",
"version": "latest",
"processing_options": {
"aggressive_table_extraction": true
}
}
{
"tier": "agentic_plus",
"version": "latest",
"processing_options": {
"aggressive_table_extraction": true
}
}
Terminal window
curl -X 'POST' \
'https://api.cloud.llamaindex.ai/api/v2/parse' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $LLAMA_CLOUD_API_KEY" \
--data '{
"file_id": "<file_id>",
"tier": "agentic_plus",
"version": "latest",
"processing_options": {
"aggressive_table_extraction": true
}
}'