Approve a pending decision
POST /api/v1/decisions/{decision_id}/approve
POST
/api/v1/decisions/{decision_id}/approve
Approves a pending decision, records who approved it, and emits a decision.approved event.
Authorizations
Parameters
Path Parameters
decision_id
required
The decision UUID to approve
string
The decision UUID to approve
Request Body
Any of:
Request body for approving a decision.
Attributes: feedback: Optional feedback for the agent.
null
Responses
200
Successful Response
Response for approve/reject decision actions.
Attributes: decision_id: UUID of the affected decision. status: New status of the decision. action: The action taken (‘approved’ or ‘rejected’). approved_by: User ID who performed the action. rejection_reason: Reason for rejection, if applicable. timestamp: When the action was performed.
422
Validation Error
object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string