chat

Send Message Stream

Persist-first: save the user message + a streaming assistant placeholder, kick off a detached generator, and return the ids. The client then attaches to the events endpoint to stream the answer. Generation is decoupled from this request, so a refresh resumes it.

post/api/v1/chat/threads/{thread_id}/messages/stream

Path parameters

thread_idstring uuid required

Headers

authorizationstring nullable

Bearer <token>

Bearer <token>

Request body

contentstring required

Response

Successful Response

dataobject required

Changes

No recorded changes to this endpoint across all 1 revision of this API.