Skip to main content
Document Split breaks a multi-page PDF stored in Box into smaller sub-documents and saves the results to a Box folder. Use Document Split when you need to:
  • Break a multi-page PDF into page-range segments you define yourself, using a .
  • Let Box interpret natural language instructions to determine how pages are grouped, using a .

Example use cases

Prerequisites

Before you start, follow the steps in the guide to create a platform app and generate an access token. You also need:
  • A source PDF already stored in Box.
  • A destination folder in Box that your app can write to.

API version

All requests to Document Split endpoints must specify a valid API version by setting the box-version header to 2026.0. For more details, see .

Split types

The split_type you send determines the rest of the request body.
Use manual when the page numbers are known, because the results are deterministic. Use smart when the boundaries are easier to describe than to calculate.
A smart split consumes AI Units. Box consumes 1 AI Unit for every 4 pages processed.

How Document Split works

Document Split runs asynchronously in two steps:
  1. Send a POST request to /2.0/document_splits to create a split job. The response contains a job ID.
  2. Send a GET request to /2.0/document_splits/{document_split_id} with that ID to retrieve the status and the generated files.

Create a split job

The request body has the same shape for both split types. Only the contents of split_input differ. For a complete request example, see the or guide. The response contains the ID of the split job:

Get the status and results of a split job

Use the job ID from the POST response to retrieve the details of the split.
cURL
The response lists the generated files, the split definition Box applied, the destination folder, and other details of the request.
For a smart split, the split_definition in the response shows the ranges Box derived from your prompt. Use it to confirm that the prompt produced the grouping you expected.
Last modified on September 10, 2026