latestOpenAPI 3.1.02026-08-22379259358.7 KB

c53108d35a70

store

Submit Session Confirmation

HTTP twin of the confirmation socket handlers, for detached runs.

A detached client observes status == "pending_confirmation" on its poll, reads the confirmation id and options from the durable actions log, and answers here. Command approvals resolve an in-memory future on this replica and fan out to peers via the socket-event bus, with a persisted fallback by call_id.

post/v1/store/chat-sessions/{chat_session_id}/confirmation

Path parameters

chat_session_idstring required

Request body

confirmation_idstring required
kind'command_approval' | 'question' required
actionstring nullable
call_idstring nullable
question_indexinteger nullable
responsestring nullable

Response

Successful Response

{"stackTrail":"paths:/v1/store/chat-sessions/{chat_session_id}/confirmation:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}