Stream all events
GET
/events/stream
const url = 'https://localhost:3000/api/v1/events/stream';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://localhost:3000/api/v1/events/stream \ --header 'Authorization: <Authorization>'Opens an SSE connection to receive all events of the accessible triggers. Optionally scope the stream to an owner workspace.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”token
string
JWT token (fallback for EventSource)
owner
string
Scope the stream to an owner workspace: ‘personal’ or ‘tenant:
mode
string
‘events’ streams every event individually (id, trigger, time, metadata) instead of aggregated batch_event frames; capped per connection by sse.event_stream_max_rate. Default: aggregated
Responses
Section titled “Responses”SSE stream
Media typetext/event-stream
string
Invalid owner filter or mode
Media typetext/event-stream
object
error
required
string
Example
invalid_requestmessage
string
Example
Invalid request bodyUnauthorized
Media typetext/event-stream
object
error
required
string
Example
invalid_requestmessage
string
Example
Invalid request bodyNot a member of this tenant
Media typetext/event-stream
object
error
required
string
Example
invalid_requestmessage
string
Example
Invalid request bodyToo many connections
Media typetext/event-stream
object
error
required
string
Example
invalid_requestmessage
string
Example
Invalid request body