All approval endpoints require authentication via Bearer token. These endpoints allow dashboard users to view and manage pending approval requests from their agents.
List pending approvals
Retrieve all pending approval requests for agents owned by the authenticated user.Headers
string
required
Bearer token for authentication. Format:
Bearer <jwt>Response
object[]
Status codes
200- Approvals retrieved successfully401- Unauthorized (missing or invalid token)500- Internal server error
Approve action
Approve a pending approval request, allowing the agent to execute the action.Approved actions have a limited time window for execution based on the
APPROVAL_EXECUTE_TTL_HOURS configuration.Headers
string
required
Bearer token for authentication. Format:
Bearer <jwt>Path parameters
string
required
The UUID action identifier from the approval request.
Response
string
Approval status. Will be “APPROVED”.
string
The UUID action identifier.
Status codes
200- Action approved successfully401- Unauthorized (missing or invalid token)404- Action not found or does not belong to user409- Action already resolved (approved, denied, or expired)500- Internal server error
Deny action
Deny a pending approval request, preventing the agent from executing the action.Headers
string
required
Bearer token for authentication. Format:
Bearer <jwt>Path parameters
string
required
The UUID action identifier from the approval request.
Response
string
Approval status. Will be “DENIED”.
string
The UUID action identifier.
Status codes
200- Action denied successfully401- Unauthorized (missing or invalid token)404- Action not found or does not belong to user409- Action already resolved (approved, denied, or expired)500- Internal server error