Skip to main content
POST
One assistant turn (SSE)

Headers

X-Memloom-Owner
string<uuid>

The owner this request acts for. Applies to every owner-scoped endpoint, reads as well as writes. Omit it and the daemon's own default owner answers (see GET /health), which is what a single-owner install has always used. A value that is not a uuid is refused with 400 rather than coerced.

Body

application/json
message
string
required
Example:

"what are my plans for today?"

sessionId
string<uuid>

Continue an existing chat; omit to create one.

model
string

Per-turn OpenRouter model override (see /assistant/models).

Example:

"anthropic/claude-sonnet-5"

Response

The SSE event stream for this turn.

The response is of type string.