Skip to main content
Self-hosted control plane only. These endpoints are served by the AtlaSent control-plane API that ships in the self-hosted Helm deployment, which is not yet released (see Enterprise overview). They are not served by the SaaS runtime at api.atlasent.io.
HITL escalations pause agent execution and route a decision to one or more human approvers. This page documents the four escalation endpoints. For the full orchestration model — quorum tiers, SLA timeouts, audit emission, and SDK usage — see the HITL Orchestration guide.

Endpoints

Authentication

All four endpoints require a valid Bearer token or API key. Creating escalations requires any authenticated actor. Responding to an escalation (casting a vote) additionally requires the hitl:approve or admin role — see Roles.

POST /v1/escalations

Create a new HITL escalation. The escalation starts in pending status and awaits votes from approvers.

Request body

Response

Status: 200 OK

GET /v1/escalations

List all escalations for the caller’s org. Results are scoped to the org derived from the credential.

Query parameters

Response

Status: 200 OK — returns an array of escalation objects.

GET /v1/escalations/:id

Fetch a single escalation with its complete approval record history and current quorum progress.

Path parameters

Response

Status: 200 OK

POST /v1/escalations/:id/respond

Cast an approve or reject vote on a pending escalation. Requires the hitl:approve or admin role. The escalation transitions to a terminal status when quorum is reached: If all votes are cast but neither threshold is crossed, fallbackDecision is applied.

Path parameters

Request body

Response

Status: 200 OK
When the response vote reaches quorum, escalation.status will be approved or rejected in the response. While quorum has not yet been reached, status remains pending.

State machine

All three terminal states are final — a terminal escalation cannot be re-opened. A 409 is returned if a vote is cast against an escalation that is already in a terminal state.

Error codes