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"}'
Send an interrupt signal to stop an ongoing chat stream.
API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here
Bearer your_api_key_here
Request body for interrupting an ongoing chat stream
Unique identifier of the chat to interrupt
Unique identifier of the agent to interrupt
Successful response - no content
Was this page helpful?