- A Datalab account with an API key (new accounts include $5 in free credits)
- Python 3.10+ installed
- The Datalab SDK:
pip install datalab-python-sdk - Your
DATALAB_API_KEYenvironment variable set
Basic Execution
Run a pipeline on a document:Version Selection
Theversion parameter controls which pipeline configuration runs:
Run-Level Overrides
Override pipeline behavior per execution without changing the pipeline configuration:Override Reference
Execution Status
Poll for status usingget_pipeline_execution():
Status Values
Per-Processor Tracking
Each processor in the execution reports its own status:pending, dispatched, running, completed, failed, skipped.
Retrieve Processor Results
Fetch the output of a specific processor:Webhooks
Get notified when a pipeline execution completes instead of polling:List Executions
View recent executions for a pipeline:Billing
Pipeline execution is billed per page, with rates additive across processors. Each processor type has its own per-page rate. Check a pipeline’s rate before running:End-to-End Example
Create a pipeline, publish it, and run it in production:Next Steps
Pipeline Overview
Processor types, composition rules, and when to use pipelines.
Pipeline Versioning
Manage drafts, versions, and production pinning.
Webhooks
Configure webhook notifications for pipeline executions.
SDK Reference
Full SDK reference for all pipeline methods.