Get viewer and traffic totals
GET
/streams/stats/read Read: looks, changes nothing. Scopes
What the dashboard's top bar shows: connections and lines watching now and, for accounts that see the whole panel, streams online, server traffic and whether "Under attack" mode is on. A reseller gets only its own lines' connections.
Response
200 OK
active_connectionsintegerrequiredonline_usersintegerrequiredLines watching now.
active_streamsintegerbytes_in_totalintegerbytes_out_totalintegerbytes_in_rate_bpsintegerbytes_out_rate_bpsintegerunder_attackobjectcan be nullsincestring (date-time)requiredcan be nullendsstring (date-time)requiredcan be nullrunningbooleanrequired
Errors
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.