Realtime Traffic Metrics
The same aggregate metric object as /traffic/metrics, computed over the last 5 minutes across your active account, delivered as Server-Sent Events: the response is text/event-stream carrying one data: event, after which the server closes the connection. Poll the route again for fresh values. For arbitrary hour/day windows, use /traffic/metrics.
The window and endpoint filter are not configurable on this route — it always reports the last 5 minutes account-wide. If the metrics can't be computed the response is a 200 with an empty body (no event).
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)
The 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.