Skip to main content
POST
Assistant chat (SSE)

Authorizations

x-api-key
string
header
required

Optional API key for authentication (enabled via application.yaml)

Body

application/json
messages
object[]
required
maxIterations
integer
default:50

Maximum agent-loop iterations (LLM + tool-call rounds) before the loop stops

context
object

Optional endpoint-specific context object (see each chat endpoint's description)

attachments
object[]

Handles of files staged via /assistant/attachment for this turn

Response

200 - text/event-stream

Server-Sent Events stream of agent-loop events

The response is of type string.