x-cpod-domain: chat
Chat HITL
Chat human-in-the-loop approvals — resolve agent tool-call approval requests paused during AI execution.
Try in explorer
client.chatHITLApproval
A pending human-in-the-loop tool-call approval emitted when an agent requires gating.
REST path
/api/v1/chat/hitlOperations
resolvegetPendinglistPendingSDK
// list — returns only your records; add filters/search:
await client.chat.list()| Field | Type | Description |
|---|---|---|
| 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 | Approval decision (set when resolving).approvedrejected |
| payload | json | Optional overridden tool args to use if approved. |
| expires_at | date-time | Approval request expiry timestamp. |
| status | enum | Current approval status.pendingapprovedrejectedexpired |