Skip to main content
POST
/
api
/
chat
/
interrupt
cURL
curl -X POST "https://app.cotool.ai/api/chat/interrupt" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"chatId":"string","agentId":"string"}'

Documentation Index

Fetch the complete documentation index at: https://docs.cotool.ai/llms.txt

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

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Body

application/json

Request body for interrupting an ongoing chat stream

chatId
string<uuid>
required

Unique identifier of the chat to interrupt

agentId
string<uuid>

Unique identifier of the agent to interrupt

Response

200

Successful response - no content