Split Document
Document Processing
Split Document
Split a document into logical sections based on category descriptions. Useful for separating multi-section documents like contracts or reports.
POST
Split Document
Authorizations
API key authentication. Use your Aifano API key (starts with ak_live_) as the Bearer token.
Body
application/json
The document to process. Accepts: (1) a public URL, (2) a presigned S3 URL, (3) an aifano://file_id from /upload, or (4) a jobid://job_id from a previous /parse call.
Categories to split the document into.
split_rules
string
default:Split the document into the applicable sections. Sections may only overlap at their first and last page if at all.
Rules for how to split the document.
Configuration for the parsing step. Ignored when using jobid:// input.