Quick Start
Start Server
Workflow
Endpoints
Submit Run
POST /api/v1/runs - Submit a new job
List Runs
GET /api/v1/runs - List all jobs
Get Status
GET /api/v1/runs/ - Get job status
Get Result
GET /api/v1/runs//result - Get job result
Stream Progress
GET /api/v1/runs//stream - SSE stream updates
Cancel Run
POST /api/v1/runs//cancel - Cancel a job
Delete Run
DELETE /api/v1/runs/ - Delete a job
Health Check
GET /health - Server health status
Key Features
- Idempotency: Use
Idempotency-Keyheader to prevent duplicate job submissions - Webhooks: Receive callbacks when jobs complete via
webhook_url - Session Grouping: Group related jobs with
session_id - SSE Streaming: Real-time progress updates via Server-Sent Events
- Polling: Use
retry_afterfield for optimal polling intervals
Status Values
| Status | Description |
|---|---|
queued | Job waiting to start |
running | Job in progress |
succeeded | Job completed successfully |
failed | Job failed with error |
cancelled | Job was cancelled |

