Dashboard event stream
Long-lived Server-Sent Events stream carrying dashboard cache-invalidation
and MCP connection notifications. Emits a ready event on connect, then
data-update and mcp-connected events as data: frames, with : keepalive
comment heartbeats every 25 seconds.
Requires admin credentials (project admin JWT or API key); anon keys and
authenticated end-user JWTs are rejected. Proxies must pass
text/event-stream through unbuffered and allow long-lived connections.
Authorizations
Project admin JWT or an API key passed as a Bearer token.
Response
SSE stream of dashboard events
Each frame is data: <json>\n\n, where the JSON is one of:
{"type":"ready"}{"type":"data-update","resource":"database|users|buckets|functions|deployments|compute_services","data":{...}}(datais optional){"type":"mcp-connected","toolName":"...","createdAt":"<ISO 8601>"}
"data: {\"type\":\"ready\"}\n\ndata: {\"type\":\"data-update\",\"resource\":\"users\"}\n"