Method signature (Python SDK)
Basic run
Inputs
inputs is a dict[str, str] in v1.
Ingest overrides
kind="url"=>http://...orhttps://...kind="file"=>doc://...
Non-blocking mode
Polling behavior
When waiting, the SDK pollsGET /v1/runs/{id}/ with exponential backoff + jitter.
- starts at
poll_interval - increases up to
max_poll_interval - stops on terminal statuses:
done,failed,cancelled,blocked
Run statuses
| Status | Meaning |
|---|---|
queued | Accepted and waiting to run |
running | Executing |
done | Completed successfully |
failed | Terminal failure |
cancelled | Terminal cancellation |
blocked | Terminal blocked state |
REST API v1
Create
202 body:
Get run
GET /v1/runs/{run_id}/
Get steps
GET /v1/runs/{run_id}/steps/
