HITLApproval
/api/v1/chat/hitlA pending human-in-the-loop tool-call approval emitted when an agent requires gating.
resolvegetPendinglistPendingSchema
| Field | Type | Notes |
|---|---|---|
| approval_id* | uuid | HITL approval identifier from the SSE event. |
| tool_name* | string | Name of the tool awaiting approval. |
| tool_args* | json | Arguments the agent intends to pass to the tool. |
| decision | enum | approved | rejectedApproval decision (set when resolving). |
| payload | json | Optional overridden tool args to use if approved. |
| expires_at | date-time | Approval request expiry timestamp. |
| status | enum | pending | approved | rejected | expiredCurrent approval status. |
API
Loading manifest…