Approve an action
POST /api/v1/approvals/{approval_id}/approve
Approves a pending action, optionally with feedback for the agent.
Authorizations
Parameters
Path Parameters
The approval item ID to approve
The approval item ID to approve
Request Body
Request body for approving an action.
Attributes: feedback: Optional reason or context for the approval.
Responses
200
Successful Response
Envelope response for approval action endpoints.
Attributes: data: The approval decision payload. meta: Standard response metadata.
object
Inner data payload for approval decision responses.
Attributes: decision: The decision made (approved, rejected, modified). decision_id: The ID of the approval that was acted on. action_type: The action type that was decided on. feedback: Owner feedback, if provided. reason: Rejection reason, if applicable. modifications: Requested modifications, if applicable. execution_result: Result of executing the action, if available.
Standard metadata included in every API response.
Attributes: request_id: Unique identifier for this request. timestamp: When the response was generated.
object
Unique identifier for this request
When the response was generated
422
Validation Error