Worker + D1 · /health · openapi.json
GET /demo/runs — list run IDsPOST /demo/reset — reset gates after testing compensation/approval| Method | Path | Description |
|---|---|---|
| GET | /health | Load balancer health check |
| POST | /start_run | Create a new workflow run (optional run_id) |
| GET | /runs/{run_id} | Full run + steps (Python SDK) |
| PATCH | /runs/{run_id} | Update status / metadata |
| GET | /idempotency/{key} | Idempotent step lookup |
| POST | /runs/{run_id}/steps | Record step completion or failure |
| GET | /runs/{run_id}/status | Run status + gate summary |
| GET | /runs/{run_id}/resume_blockers | List active gates |
| POST | /runs/{run_id}/compensate | Record partial-failure compensation |
| POST | /runs/{run_id}/approve | Grant human approval (permanent failures) |
| POST | /runs/{run_id}/ack_prod_resume | Production resume acknowledgment |
| GET | /runs/{run_id}/replay | Replay payload (completed steps) |
| GET | /runs/{run_id}/compliance_export | Compliance JSON bundle for auditors |
| GET | /runs/{run_id}/audit_events | Immutable governance audit log |
| POST | /resume | Validate resume (409 if gated) |
| GET | /runs/{run_id}/audit_log | Deterministic audit trace |
| GET | /demo/runs | Seeded demo run catalog |
| POST | /demo/reset | Reset demo runs to initial state |