Installation
Install the Datalab SDK:Convert a Document
The SDK provides a simple interface to convert documents to Markdown, HTML, JSON, or chunks.Conversion Options
Control the conversion with options:Processing Modes
| Mode | Description |
|---|---|
fast | Lowest latency, good for simple documents |
balanced | Balance of speed and accuracy (default) |
accurate | Highest accuracy, best for complex layouts |
Fill PDF Forms
Fill forms in PDFs or images with structured data:Upload and Manage Files
Upload files to Datalab for use in workflows:CLI
The SDK includes a command-line interface:Async Support
For high-throughput applications, use the async client:Next Steps
- SDK Reference - Full SDK documentation
- Document Conversion - Detailed conversion guide
- Structured Extraction - Extract data with schemas
- Workflows - Build document processing pipelines
Try Datalab
Get started with our API in less than a minute. We include free credits.