Skip to main content

GET /api/v1/realtime/sse

A single authenticated Server-Sent Events stream. The backend authenticates the connection, subscribes to the fan-out bus on your behalf, and relays every publication down the stream. Sending stays on REST — this is the receive path only. Auth: session. EventSource cannot set headers, so the access token may be passed as a query parameter; non-browser clients can use the Authorization header instead.

Connect

From a server:

Stream behaviour

Errors

Conversation channels

Signals are ephemeral: nothing is stored, they never appear in the thread, and they expire on their own — thinking after about 60 seconds, typing after about 8. Repeats faster than 3 seconds per conversation are collapsed server-side. Publishing failures are silent and safe to ignore.

Polling alternatives

Realtime is a convenience, not the source of truth. Anything that changes on-chain is projected by the indexer, so poll when correctness matters: