AI

Stop the AI turn running in a conversation

Stops generation for a chat session. With server-side chat persistence enabled the browser no longer holds the connection to the agent, so disconnecting does not stop the turn — this does, and what was generated up to that point stays saved.

post/api/{org_id}/ai/chats/{session_id}/cancel

Request

Path parameters

org_idstring required

Organization name

session_idstring required

Chat session ID

Request body

object required

Response

Cancellation forwarded

object required

Changes

No recorded changes to this operation across all 1 revision of this API.