Base URL
Authentication
All API endpoints require a Bearer token in theAuthorization header, except health checks and the initial auth session creation.
zombiectl login) or by creating an auth session programmatically:
POST /v1/auth/sessions— returns alogin_urlandsession_id- Complete the OAuth flow in the browser
GET /v1/auth/sessions/{session_id}— poll untilstatus: "complete", then extract thetoken
Errors
All errors follow a consistent format:request_id for tracing.
Conventions
- IDs are UUIDs.
- Timestamps are Unix milliseconds.
- Action endpoints use
:actionsuffix (e.g.,/v1/runs/{run_id}:cancel). - Streaming endpoints (replay, stream, agent relay) return Server-Sent Events.
Rate limits
API rate limits are per-workspace. If you hit a rate limit, the response includes aRetry-After header.
OpenAPI Spec
View the full OpenAPI 3.1 specification