Skip to main content
The AsyncReducto client provides the same interface as the sync client, but allows concurrent document processing. Use it when you need to process multiple documents simultaneously.

Basic Usage

The async client mirrors the sync client exactly. Every method is available; just add await.

Concurrent Processing

The real value of async is processing multiple documents simultaneously with asyncio.gather:

Parse Multiple Documents

Extract from Multiple Documents

Split Multiple Documents

Fill Multiple Forms

Run Pipeline on Multiple Documents


Rate Limiting

Control concurrency with semaphores to avoid overwhelming the API:

Context Manager

Use the context manager to ensure proper cleanup:

Error Handling

Error handling works the same as the sync client:
For batch processing, use return_exceptions=True to handle failures gracefully:

Advanced Features

Raw Response Access

Streaming Response


When to Use Async

Use Async When

Processing 10+ documents, building web services, or integrating with async frameworks (FastAPI, aiohttp).

Use Sync When

Processing single documents, simple scripts, or when async adds unnecessary complexity.

Next Steps