Skip to main content
POST
/
v2
/
chats
/
{id}
/
cancel
Cancel Stream
curl --request POST \
  --url https://app.textql.com/v2/chats/{id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "cancelled": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.textql.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key or JWT token

Path Parameters

id
string<uuid>
required

Chat ID

Response

Cancellation result

cancelled
boolean

Whether the stream was successfully cancelled