Approvals API
When an agent attempts an action that requires human review (e.g. sending an email), it creates an approval request.
List Approvals
GET /api/v1/approvals?status=pendingResolve Approval
POST /api/v1/approvals/{approval_id}/resolveRequest Body
| Field | Type | Required | Description |
|---|---|---|---|
action | string | Yes | "approve" or "reject" |
resolved_by | string | Yes | Who resolved it |
notes | string | No | Optional notes |