Runs & Traces API
Every workflow execution produces a Run object containing sub-millisecond trace records.
Endpoints
GET /platform/v1/runs: List runs with pagination and status filters.GET /platform/v1/runs/{run_id}: Retrieve complete plan, status, and output.GET /platform/v1/runs/{run_id}/trace: Detailed telemetry waterfall and tool timings.POST /platform/v1/runs/{run_id}/approve: Approve or reject a guarded action step.POST /platform/v1/runs/{run_id}/cancel: Abort an in-flight run.
Approving an Action Step
curl -X POST https://api.zonrad.com/platform/v1/runs/run_01J8K3M9N2P4Q5R6S7T8U9V0/approve \ -H "Authorization: Bearer zon_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "step_id": "step_abc123", "decision": "approved" }'