Skip to main content
A completed request can return success=False and error without raising an SDK exception. Check result.success before reading the output.Python SDK 0.5.0 does not download signed regional results automatically. For EU requests, use the REST polling and download flow.

Basic Usage

Extract Options

Use ExtractOptions to configure extraction behavior:
Set extraction_mode independently from the parse mode. For balanced or accurate extraction, set mode="accurate" explicitly to match the REST default; the SDK otherwise sends mode="fast". See Balanced and Accurate Extraction 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.