Skip to main content
POST
Decide an action approval

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
approvalId
string
required

Body

application/json
decision
enum<string>
required
Available options:
approve,
approve_always,
reject
reason
string
Maximum string length: 500

Response

The outcome

kind
enum<string>
Available options:
decided
status
enum<string>
Available options:
approved,
executed,
failed,
rejected