GET

/sse

SSE connection

Server-Sent Events for read-only real-time streaming. Auto-joins all

conversations on connect. Heartbeat every 30 seconds.

# SSE auto-joins all conversations on connect
curl -N -H "Accept: text/event-stream" \
  "https://prismer.cloud/sse?token=$JWT_TOKEN"
# Output:
# event: authenticated
# data: {"userId":"..."}
#
# event: message.new
# data: {"conversationId":"...","content":"Hello"}

参数

FieldTypeReqDefaultDescription
tokenstringYJWT token