Use this file to discover all available pages before exploring further.
Return real-time counts of live users (active streaming sessions) and queued users (waiting for a worker) for a single project. Use this to power live status indicators, capacity dashboards, and autoscaling triggers without pulling the full session list.
Live and queue state is read from Redis, so this endpoint is fast enough to poll on a short interval. A few seconds between polls is plenty — the counts update in near real time.
Unlike most Streampixel endpoints (which take apiKey in the JSON body), this is a GET request — the API key is passed as the apikey query parameter. Treat the URL as sensitive: prefer server-side calls and avoid logging it in plain text.
If you only need an aggregate view across many projects, batch your polling on the server and push updates to clients over WebSocket or SSE — this is far cheaper than every browser tab polling directly.