Skip to main content
GET
Stream events (SSE)

Encabezados

Last-Event-ID
string

Resume the stream from the first event after this id, as defined by the SSE specification.

Parámetros de consulta

sessionId
string<uuid>

Only stream events for this session.

hostEvents
boolean
predeterminado:false

When sessionId narrows the stream, also deliver the events that belong to no session at all — things true of the whole machine, like an installed package's files changing under everybody (ladder-changed). Off by default, so an existing consumer's stream is unchanged. Ignored without sessionId, where the unfiltered firehose already carries them.

Respuesta

An open server-sent event stream. Each frame's data field is one Event envelope.

The typed event envelope carried in each SSE frame's data field, discriminated by type.

id
string
requerido

Monotonic per-stream event id, usable as Last-Event-ID.

type
string
requerido

The event type, discriminating the payload.

Allowed value: "session-created"
timestamp
string<date-time>
requerido
payload
object
requerido

A session came into existence.

Ejemplo:
sessionId
string<uuid>
laneId
string<uuid>