Approve or reject a pending tool call
Documentation Index
Fetch the complete documentation index at: https://docs.sigmic.ai/llms.txt
Use this file to discover all available pages before exploring further.
autoExecute=false, tool calls require manual approval before they execute. Use this endpoint to approve or reject pending tool calls.
| Parameter | Type | Description |
|---|---|---|
id | string | The unique task identifier |
callId | string | The tool call identifier (from the tool_call event) |
| Field | Type | Required | Description |
|---|---|---|---|
outcome | string | Yes | The approval decision |
| Value | Description |
|---|---|
proceed_once | Execute this specific tool call only |
proceed_always | Execute and auto-approve similar calls for this session |
cancel | Reject the tool call |
| Field | Type | Description |
|---|---|---|
approved | boolean | true if approved, false if cancelled |
GET /api/v1/tasks/:id to check for pendingApprovals without using SSE.
tool_result event with the execution resultcontent events as the agent processes the result| Code | Description |
|---|---|
AUTH_REQUIRED | No authentication provided |
INVALID_API_KEY | Invalid or expired API key |
NOT_FOUND | Task or tool call not found |
VALIDATION_ERROR | Invalid outcome value |