Stop a streaming message
POST/chat.stopStream
Finalize an open stream (see /chat.startStream)
into a single persisted chat message and return its timestamp. Optionally
include trailing text to append before finalizing.
If the app never calls stopStream but has already streamed some text, the
server finalizes the buffered text into a message automatically.
Required scope: chat:send_message or chat:write
OpenAPI Spec: chat-v1.json
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 405
- 413
- 500
Stream finalized and message persisted.
Bad request. Common causes:
streamIdmissing or not a valid UUID- The finalized message would have no content
Presented invalid authentication credentials.
The token lacks the required scope (chat:send_message or chat:write).
No active stream with that streamId for this app.
An unsupported method was requested.
Accumulated stream text exceeds the maximum allowed size.
An internal error occurred.