Documentation
Endpoints
Reference for all Tasks API endpoints.
Endpoint Reference
| Endpoint | Method | Description |
|---|---|---|
| Create run | POST | Create a new task run |
| List runs | GET | List task runs with filters |
| Get run | GET | Get run status and details |
| Cancel run | POST | Cancel a queued or running run |
| Get input | GET | Get the input used for a run |
| Get output | GET | Get run output (200 when done, 202 when running) |
| Get result | GET | Long-poll until run completes |
| Stream events | GET | SSE stream of execution events |
| List files | GET | List files in run workspace |