Confirm and execute an agent-proposed action
POST
/ai/chats/{chat}/actions/{action}/confirm
const url = 'http://localhost:8000/api/v1/ai/chats/1/actions/1/confirm';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8000/api/v1/ai/chats/1/actions/1/confirm \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” chat
required
integer
action
required
integer
Responses
Section titled “ Responses ”Action executed
Not found
Action no longer confirmable