Skip to main content

Basic Usage

Extract Options

Use ExtractOptions to configure extraction behavior:
To control the extraction pipeline mode (fast vs. balanced), pass extraction_mode as a form field via the REST API directly — it is not yet exposed in ExtractOptions. See Balanced Extraction Mode for details on the two modes.

Checkpoint Reuse

Use checkpoints to avoid re-parsing a document when running extraction after conversion. First convert with save_checkpoint=True, then extract using the returned checkpoint_id:

Extraction Result

The result object contains the extracted data alongside standard conversion fields:

Async Usage

Next Steps

Extraction Recipe

Learn more about structured extraction patterns and best practices.

Document Segmentation

Segment documents into logical sections using schemas.

Document Conversion

Convert documents to Markdown, HTML, JSON, or chunks.

Batch Processing

Process multiple documents efficiently in parallel.