API Reference
Runs
Trigger, monitor, and cancel agent executions.
Endpoints for creating runs and watching them execute. See the Runs guide for the full workflow.
POST /api/v1/runs/— trigger a run.GET /api/v1/runs/{run_id}— poll run status, cost, and result.GET /api/v1/runs/{run_id}/logs— stream events from the session.
Cancellation lives on the session — see
POST /api/v1/sessions/{session_id}/cancel.