GET /api/v1/dashboard/stream
Route source: app/api/v1/dashboard/stream/route.ts. Access: Portal session cookie; tenantContext. Status codes are read from the route implementation.
GET
/api/v1/dashboard/streamAccess
The session variable in examples is a placeholder. The browser supplies the real session cookie.
Request
| Path | Route details |
|---|---|
query · range | optional · {"type":"string"} |
Request body in the handler contract: none.
Synthetic curl example
curl -i -X GET 'https://portal.rfi-irfos.com/api/v1/dashboard/stream' \
-H "Cookie: $PORTAL_SESSION_COOKIE"Response
Server-Sent Events deliver dashboard updates as text/event-stream.
200 401 503
The linked source file contains the authoritative field validation and response structure.
Error codes
401· Session or credentials are missing or invalid503· Service or database is unavailable
Code evidence
app/api/v1/dashboard/stream/route