Page Ranges
Page selection
Extractors, classifiers, and splitters let you restrict which pages of the source document are read and billed.
Use either pageRanges or fixedPageLimit, preferring pageRanges, never both.
pageRanges
- 1-based, inclusive page numbers
- Ranges can overlap or arrive out of order; the platform merges and sorts them automatically
- Omit the field or pass
[]to process the full document (subject to global limits)
fixedPageLimit
Equivalent to pageRanges: [{ "start": 1, "end": 25 }].
All rules that apply to pageRanges also apply to the synthetic range generated from fixedPageLimit.
Chunking behavior
pageRanges (or the range derived from fixedPageLimit) is applied before chunking starts:
- Selected pages are isolated and renumbered from 1
- Chunking operates on this renumbered subset
- Chunk-level options such as
chunkingStrategyandpageChunkSizerefer to the virtual page numbers
Example:
Resulting chunks:
Best practices
- Prefer
pageRangesoverfixedPageLimit - Use
pageRangesfor non-contiguous or trailing pages - Remember that chunking operates on virtual page numbers after filtering

