Skip to main content
GET
/
v1
/
workspaces
/
{workspace_id}
/
approvals
List pending approval gates for a workspace
curl --request GET \
  --url https://api.usezombie.com/v1/workspaces/{workspace_id}/approvals \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "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>"
    }
  ],
  "next_cursor": "<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

Query Parameters

status
string

Defaults to "pending". Supply "approved", "denied", "timed_out" to query terminal states.

zombie_id
string<uuid>
gate_kind
string
limit
integer
default:50
Required range: 1 <= x <= 200
cursor
string

Response

OK

items
object[]
required
next_cursor
string | null