Skip to content

Subscribe to workspace realtime events (SSE)

GET
/api/workspaces/{workspaceId}/realtime
curl --request GET \
--url http://localhost:8080/api/workspaces/example/realtime \
--cookie auth_session=<auth_session>

Server-Sent Events stream of workspace realtime events. Session auth only (EventSource cannot send API-key headers).

workspaceId
required
string
clientId
string

SSE event stream.

Media typetext/event-stream
string

Invalid request

Media typeapplication/json
object
success
boolean
error
string

Example

{
"error": "Error message"
}

Internal server error

Media typeapplication/json
object
success
boolean
error
string

Example

{
"error": "Error message"
}