Skip to main content
GET
List an agent's action approvals
Returns the agent’s pending and past approval requests. Use it to build a review queue for actions that need a human. Related guide: Slack integration. The one-shot approvals the agent asked for before taking an action (sending a message, for instance), newest first, at most 50. Filter with ?status=.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

agentId
string
required

Query Parameters

status
enum<string>
Available options:
pending,
approved,
executed,
failed,
rejected,
expired

Response

200 - application/json

Approvals

approvals
object[]