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.POST /api/v1/runs/{run_id}/cancel— cancel a run in flight.