task.confirmAction
Confirms a supported pending action when task.listMessages shows agent_status: waiting. Action confirmations without confirm_input_schema still use this endpoint. For messageAskUser / cascadeAskUser questions, use task.sendMessage instead. See the Task Lifecycle guide for input formats; do not automatically confirm unrecognized waiting types.
Headers
API key for direct authentication. Provide either this or Authorization, not both. See Authentication.
Body
The unique identifier of the task with a pending action. Supports the shortcut agent-default-main_task for the IM agent's main task.
The waiting_for_event_id value from the status_update event that triggered the confirmation request. This identifies which specific action to confirm.
Optional input data for the pending action. The expected schema is defined by the confirm_input_schema field in the status_update event. For simple confirmations, this can be omitted.
Response
Action confirmed successfully. The task will resume processing.