Approvals

Approve a gated action

Approve a blocked trifecta or policy action. Requires the admin role.

post/api/v1/approvals/{approval_id}/approve

Request

  • Base URL: https://dashboard.sealgate.ai
  • URL: https://dashboard.sealgate.ai/api/v1/approvals/{approval_id}/approve
  • Auth: HTTP bearer

Request body

notestring nullable

Optional note explaining the approval

Response

The approved request

idinteger required

Approval request ID

session_idstring required

Session that triggered the approval request

tool_namestring required

Name of the tool requesting approval

tool_paramsobject nullable

Parameters passed to the tool

user_idstring required
user_emailstring nullable
agent_namestring nullable
trifecta_flagsstring[] required
reasonstring nullable

What held the call: 'trifecta'/'trifecta_prevent' or 'policy_approval'

policy_rulestring nullable
statusstring required

Approval status: pending, approved, denied

created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.