Basic Usage
Segment Options
UseSegmentOptions to configure segmentation behavior:
Checkpoint Reuse
Use checkpoints to avoid re-parsing a document when running segmentation after conversion. First convert withsave_checkpoint=True, then segment using the returned checkpoint_id:
Segmentation Result
The result object contains the segmentation data alongside standard conversion fields:Async Usage
Next Steps
Segmentation Recipe
Learn more about document segmentation patterns and use cases.
Structured Extraction
Extract structured data from documents using JSON schemas.
Document Conversion
Convert documents to Markdown, HTML, JSON, or chunks.