chat
Cancel Chat Turn
Changed onStop a running turn, as the Stop button in the app does. Chat keeps what it wrote, its searches stop, and the turn ends cancelled, charged for the work done. A finished turn is returned as it is. latest stops whatever the chat is working on.
post/v1/chat/{chat_id}/turns/{turn_id}/cancel
Request
- Base URLhttps://api.happenstance.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
chat_idstring required
turn_idstring required
A turn ID from POST /v1/chat or /messages, or latest for the chat's newest turn
Response
Successful Response
Changes
- info
endpoint added
- info