Chat
Cancel a chat turn
POST
Stop the turn the conversation is running. A turn inside a long model call stops when that call returns; its stream ends with cancelled, then done.
apiKeyheader
AuthorizationBearer <token>An API key, sk-syn- and 32 characters. On SynapseOrch Cloud an owner or admin makes it under Settings → Developer; on a self-hosted install, under Settings → API Keys.
session_id*stringThe conversation, from the turn's answer.
The cancel was requested.
application/json- response
status?stringsession_id?stringcurl -X POST "https://api.synapseorch.com/api/v2/chat/chat_01a1205c3e8f7a2b9d4c6e1f0a3b5d7c/cancel" \ -H "Authorization: Bearer sk-syn-..."{ "status": "cancellation_requested", "session_id": "chat_01a1205c3e8f7a2b9d4c6e1f0a3b5d7c"}