Skip to main content
GET
/
v1
/
workspaces
/
{workspace_id}
/
approvals
/
{gate_id}
Get a single approval gate by id
curl --request GET \
  --url https://api.usezombie.com/v1/workspaces/{workspace_id}/approvals/{gate_id} \
  --header 'Authorization: Bearer <token>'
{
  "gate_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "zombie_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "action_id": "<string>",
  "status": "pending",
  "requested_at": 123,
  "timeout_at": 123,
  "zombie_name": "<string>",
  "tool_name": "<string>",
  "action_name": "<string>",
  "gate_kind": "<string>",
  "proposed_action": "<string>",
  "evidence": {},
  "blast_radius": "<string>",
  "detail": "<string>",
  "updated_at": 123,
  "resolved_by": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.usezombie.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Path Parameters

workspace_id
string<uuid>
required
gate_id
string<uuid>
required

Response

OK

gate_id
string<uuid>
required
zombie_id
string<uuid>
required
workspace_id
string<uuid>
required
action_id
string
required
status
enum<string>
required
Available options:
pending,
approved,
denied,
timed_out,
auto_killed
requested_at
integer<int64>
required

ms epoch

timeout_at
integer<int64>
required

ms epoch — sweeper auto-denies after this point

zombie_name
string
tool_name
string
action_name
string
gate_kind
string

Classification driving UI grouping. Empty string when not classified.

proposed_action
string

Human-readable summary of what the zombie wants to do.

evidence
object

Agent-gathered context (free-form). Rendered as expandable JSON tree.

blast_radius
string

Agent's assessment of the action's reach.

detail
string

Optional reason text supplied by the resolver.

updated_at
integer<int64> | null

Set on terminal transition; doubles as resolved_at.

resolved_by
string

Resolver attribution — "user:", "slack:", "api:", or "system:timeout".