Stream decisions (SSE)
Decisions
Stream decisions (SSE)
Server-Sent Events stream for live decision updates. Events missed during a disconnect are not replayed; after reconnecting, query GET /v1/decisions to reconcile.
Events:
- connected: Sent once when the stream is ready
- decision: New decision recorded
- heartbeat: Keep-alive ping every 15 seconds
- error: Stream-level error; the connection closes
Connect with an SSE client that supports the Authorization and X-MeshQu-Tenant-Id headers.
GET
Stream decisions (SSE)
Authorizations
MeshQu API key passed as a bearer token: Authorization: Bearer mqu_…. Mint one in the console (Settings → API keys).
Tenant UUID for multi-tenant isolation. Required on authenticated routes. A missing or non-UUID value returns 400 MISSING_TENANT_ID or INVALID_TENANT_ID before API-key authentication.
Response
200 - application/json
SSE stream
SSE stream