Skip to content

List Agent Approvals

GET
/agent/approvals

Pending approvals this key may act on.

An approval is the loop asking permission before it runs a tool. Each entry carries the plan_digest it is bound to and its expires_at, so a caller can tell an approval that still describes the plan from one that has drifted.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

object
data
required
Array<object>

One approval: the loop asking permission before a consequential step.

object
action_class
required
string
decided_at
Any of:
string
decided_by
Any of:
string
decision
Any of:
string
decision_payload
Any of:
object
key
additional properties
any
detail
Any of:
object
key
additional properties
any
expires_at
Any of:
string
id
required
string
is_expired
boolean
plan_digest
Any of:
string
requested_at
Any of:
string
risk_level
required
string
snapshot_digest
Any of:
string
step_id
required
string
summary
required
string
work_item_id
required
string
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string