Skip to content

Ignore Options

Ignore options allow you to skip specific types of text during parsing. These options are available for all tiers.

Use processing_options.ignore to configure these options.

Skip text that appears diagonally on the page.

{
"tier": "agentic",
"version": "latest",
"processing_options": {
"ignore": {
"ignore_diagonal_text": true
}
}
}

Skip OCR processing of text that appears within images.

{
"tier": "fast",
"version": "latest",
"processing_options": {
"ignore": {
"ignore_text_in_image": true
}
}
}

Skip text that is hidden in the document (such as white text on white background or text marked as hidden).

{
"tier": "agentic_plus",
"version": "latest",
"processing_options": {
"ignore": {
"ignore_hidden_text": true
}
}
}

You can combine multiple ignore options:

{
"tier": "agentic_plus",
"version": "latest",
"processing_options": {
"ignore": {
"ignore_diagonal_text": true,
"ignore_hidden_text": true,
"ignore_text_in_image": 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",
"version": "latest",
"processing_options": {
"ignore": {
"ignore_diagonal_text": true,
"ignore_hidden_text": true
}
}
}'