Cancel stream
Chat & Messaging
Cancel stream
Aborts the thread’s in-flight chat run (explicit stop). Returns cancelled: false when no run is active.
DELETE
Cancel stream
Authorizations
Session token (snat_…) minted by POST /v1/token. Carries the organization and the end user; safe in a browser.
Query Parameters
Thread identifier
Example:
"thread_2f81c04a"
The run to cancel — the X-Request-Id returned by the POST /v1/chat that started it. When provided, a mismatch is a no-op, so a stale stop cannot abort a newer run on the same thread.
Example:
"stream_5b7e93d1"
Response
Cancellation result