# Document Splitting API: Split Multi-Document PDFs Automatically

> Learn how a document splitting API detects section boundaries in bundled PDFs, partitions repeating entities, and routes pages into extraction workflows.

Canonical: https://reducto.ai/guides/document-splitting-api

## The short answer

A document splitting API takes a bundled PDF (such as a loan closing packet, insurance claim file, or consolidated financial statement) and returns the exact page ranges for each logical document or section inside it. Instead of splitting on fixed page counts or fragile regex headers, modern splitting APIs parse the page content and layout first, then classify page boundaries against natural-language section descriptions.

Reducto's [Split API](https://docs.reducto.ai/split) runs [Parse](https://docs.reducto.ai/parse/overview) under the hood and maps pages to your `split_description` definitions, returning page numbers, confidence scores, and optional entity-level partitions via `partition_key`. For complex or lengthy packets where boundary errors are expensive, [Deep Split](https://docs.reducto.ai/configs/split/deep-split) adds an agentic verification loop that checks and corrects its own page assignments against the source document.

## Why bundled PDFs break downstream IDP pipelines

In enterprise [intelligent document processing](https://reducto.ai/guides/idp-enterprise-evaluation), documents rarely arrive one file per record. Operations teams receive 50- to 500-page PDFs scanned as a single batch: a mortgage file interleaving W-2s, bank statements, appraisals, and disclosures; a commercial contract binder combining a master agreement, order form, and SOW; or a medical packet containing intake forms and lab reports for multiple patients.

Running schema extraction directly on an unsplit bundle causes three predictable failures:

- **Cross-document field bleed**: an extractor looking for an effective date or total amount pulls a value from an attached exhibit or a different entity's statement.
- **Wasted compute and cost**: parsing and extracting every page with a heavy schema when only 12 pages of a 200-page packet carry target fields.
- **Broken routing**: downstream systems (ERPs, claims engines, DMS folders) expect separate document types routed to different schemas and review queues.

## Splitting vs. chunking vs. classification

Teams often conflate splitting, classification, and chunking because all three sit early in an ingestion pipeline. Each solves a different problem.

<Table html={"<div style=\"overflow-x: auto;\">\n<table><thead><tr><th scope=\"col\">Operation</th><th scope=\"col\">Question answered</th><th scope=\"col\">Primary output</th><th scope=\"col\">Best used for</th></tr></thead><tbody><tr><td><a href=\"https://reducto.ai/split\">Split</a></td><td>Where does each section or sub-document start and end inside one file?</td><td>Page number lists per section, confidence scores, and optional entity partitions</td><td>Multi-document PDFs, closing binders, claims packets, consolidated statements</td></tr><tr><td><a href=\"https://reducto.ai/classify\">Classify</a></td><td>What type of document is this file (or page range)?</td><td>Document category, confidence score, and per-criterion reasoning</td><td>Triaging incoming single-document uploads before choosing an extraction schema</td></tr><tr><td><a href=\"https://docs.reducto.ai/configs/parse/chunking-methods\">Chunking (in Parse)</a></td><td>How should parsed text and tables be grouped for retrieval?</td><td>Character- or section-bounded content chunks with bounding boxes</td><td>RAG pipelines, embeddings, and semantic search</td></tr></tbody></table>\n</div>"} />

Split identifies page locations; chunking divides parsed content into retrieval-sized pieces. In practice, many [document workflow automation](https://reducto.ai/guides/document-workflow-automation) pipelines combine them: split the packet first, then run [Extract](https://reducto.ai/extract) on specific page ranges or chunk the relevant sections for search.

## How a semantic document splitting API works

Rule-based splitters look for barcode separator sheets, blank pages, or fixed header strings. They work on controlled internal printouts and break as soon as a third party changes a template, omits a cover sheet, or sends a skewed scan.

Reducto's [Split configuration](https://docs.reducto.ai/configs/split/configuration) replaces brittle rules with three core primitives:

1. **Natural-language `split_description` entries**: each section gets a `name` and a specific `description` covering content type (tables, narrative text, forms), expected position in the file, visual cues (headers, logos, signature lines), and what it does not include.
2. **Underlying `r-1` parsing**: Split runs Parse first so scanned pages, rotated scans, dense tables, and handwritten annotations are read accurately before page-boundary classification happens.
3. **Entity grouping with `partition_key`**: when the same section type repeats inside one PDF for different accounts, patients, or companies, setting `partition_key` instructs Split to extract the repeating identifier and group matching pages by entity rather than lumping every matching page into a single flat list.

### Writing section descriptions that hold up in production

Because the section description guides page classification, specificity directly controls boundary precision:

- Describe **what makes the section recognizable**: layout cues, table columns, standard headers, or signature blocks.
- State **adjacent context**: whether a section usually follows a summary page or appears as an appendix.
- Add **negative boundaries**: explicitly note closely related sections that should not be merged into this label (for example, distinguishing a summary balance sheet from an itemized transaction ledger).

## Standard Split vs. Deep Split

Not every packet needs the same level of verification. Reducto offers two splitting modes with transparent list pricing published in [Usage and Pricing](https://docs.reducto.ai/reference/credit-usage) (with no additional Parse charges on top of Split):

<Table html={"<div style=\"overflow-x: auto;\">\n<table><thead><tr><th scope=\"col\">Mode</th><th scope=\"col\">List price</th><th scope=\"col\">How it works</th><th scope=\"col\">When to choose it</th></tr></thead><tbody><tr><td><a href=\"https://docs.reducto.ai/split\">Standard Split</a></td><td>$20 / 1,000 pages</td><td>Parses the file and classifies pages against your section descriptions in a single pass</td><td>Short packets with clearly distinct sections and low visual overlap</td></tr><tr><td><a href=\"https://docs.reducto.ai/configs/split/deep-split\">Deep Split</a></td><td>$40 / 1,000 pages</td><td>Runs an agentic loop that verifies and corrects section boundaries and partitions against the source document</td><td>Consolidated financial statements, insurance claims packets, mortgage files, multi-patient medical bundles, and long legal binders</td></tr></tbody></table>\n</div>"} />

Standard accounts include $150 in free usage credits to test both modes on your own packets before committing to a workflow.

## Chaining Split with Parse, Classify, and Extract

A production IDP pipeline should not parse the same 200-page PDF twice. Reducto supports [chaining API calls](https://docs.reducto.ai/workflows/chaining-endpoints) through the `jobid://` protocol:

1. **Upload once**: send files up to 100MB via the [Upload endpoint](https://docs.reducto.ai/upload/overview) or files up to 5GB via [presigned URLs](https://docs.reducto.ai/upload/large-files).
2. **Parse once, reuse everywhere**: pass the `job_id` from a Parse run into Split and Extract as `jobid://<job_id>` so downstream calls reuse the cached parse instead of re-parsing the file.
3. **Target extraction by page range**: feed the page numbers returned by Split into [Extract](https://docs.reducto.ai/extract/overview) (using [page ranges](https://docs.reducto.ai/configs/parse/page-ranges) when parsing selectively) so each schema runs only against its matching sub-document.
4. **Run asynchronously at scale**: for large packets or high-volume queues, submit jobs via [Async Processing](https://docs.reducto.ai/workflows/async-overview) with polling or webhooks instead of holding open HTTP connections.

If you need to inspect how a workflow splits a sample packet without writing code first, you can test it in [Reducto Studio](https://studio.reducto.ai) using the [Split Pipeline](https://docs.reducto.ai/studio-split) builder and deploy the same configuration to production via API.

## How to evaluate a document splitting API

Before choosing a splitting vendor, test candidates on a holdout set of real multi-document bundles from your own operations, including skewed scans and ambiguous page breaks. Track four metrics:

- **Boundary F1**: whether start and end pages match ground truth without off-by-one page drift.
- **Partition accuracy**: for repeating entity sections (multi-account statements, multi-patient records), whether pages stay grouped under the right identifier.
- **Confidence calibration**: whether low-confidence splits reliably flag ambiguous packets for human review.
- **End-to-end latency and cost**: total cost per 1,000 pages including the underlying OCR/parsing pass, plus p95 completion time on 100+ page files.

For broader vendor comparisons across cloud and AI document stacks, see [Reducto vs AWS Textract](https://reducto.ai/compare/reducto-vs-aws-textract), [Reducto vs Azure Document Intelligence](https://reducto.ai/compare/reducto-vs-azure-document-intelligence), [Reducto vs Google Document AI](https://reducto.ai/compare/reducto-vs-google-document-ai), and [Reducto vs Extend](https://reducto.ai/compare/reducto-vs-extend).

## Frequently asked questions

### Does Split charge separately for parsing the document?

No. According to Reducto's [Usage and Pricing](https://docs.reducto.ai/reference/credit-usage) documentation, Split ($20 per 1,000 pages) and Deep Split ($40 per 1,000 pages) include no additional Parse costs.

### Can Split handle multiple repeating documents of the same type in one PDF?

Yes. Setting `partition_key` on an entry in `split_description` tells Split to extract the repeating identifier (such as an account number or patient ID) and group pages by entity rather than returning one merged list of pages.

### When should I use Classify instead of Split?

Use [Classify](https://docs.reducto.ai/classify/overview) ($7.50 per 1,000 pages standard, using the first five pages by default) when each uploaded file is a single document and you want to route it to the right schema. Use Split when a single PDF bundles multiple documents or sections whose page boundaries must be located first.

### Can I run Split inside my own cloud or with Zero Data Retention?

Reducto documents its data retention, compliance, and enterprise deployment options in [Enterprise Readiness](https://docs.reducto.ai/enterprise/enterprise-readiness) and [Data policies & compliance](https://docs.reducto.ai/security/policies), with current security details maintained at [trust.reducto.ai](https://trust.reducto.ai).
