Ai streaming

Abort a stream

POST/ai/streams/{streamId}/stop

The inflight provider call may run a moment longer until the abort marker is observed. The assistant message that gets saved at the end of the message-POST may still contain partial content.

X-Api-Key<token>

Issued to you when your integration is provisioned. Determines which catalogue resources are visible and which AI tools are available.

In: header

Path Parameters

streamId*string

Response Body

application/json

curl -X POST "https://example.com/ai/streams/string/stop"
{  "success": true,  "status": "success",  "message": "Success",  "data": {}}