Skip to main content
POST
Confirm Card-Gated Action (Stream)
When a turn raises a confirmation card for a destructive action (deleting an agent, for example), approve or decline it here. The target of the action is read from the card itself, never from the body, and the action’s own permission check runs again against the confirming user. approve: false dismisses the card and changes nothing. Streams the continued turn’s events over SSE. Send the card’s id as decision_id. Only Omni raises confirmation cards. For any other agent the call returns 400 with Confirmation endpoints are Omni-only. See the Conversations overview for the full conversation model.

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

agent_id
string
required
conversation_id
string
required

Body

application/json
decision_id
string
required

Id of the confirmation card's interaction being resolved.

approve
boolean
default:true

true carries out the action, false dismisses it.

Response

200

Server-Sent Events stream of TaskUpdateEvent frames