Realtime Traffic Metrics
Server-Sent Events (SSE) stream of the same aggregate metric object as /traffic/metrics, computed over a fixed rolling 5-minute window across your active account. The response is text/event-stream: read data: events rather than parsing a single JSON body. For arbitrary hour/day windows, use /traffic/metrics.
Designed for live dashboards. The window and endpoint filter are not configurable on this route — it always reports the last 5 minutes account-wide.
Requires the traffic-inspector read permission on the active account.
Query parameters
None. (Any query parameters are ignored; the window is fixed at the last 5 minutes and is not endpoint-filterable.)
Response (200 OK — text/event-stream)
Each data: event contains the same flat metric object documented for /traffic/metrics (total_requests, error_rate, average_response_time, status_code_breakdown, total_bandwidth_in/out, time_series_*, etc.), aggregated over the trailing 5 minutes.