Poll a session's counters

GET /api/v1/admin/sessions/{id}/traffic prm_report_sessions

View as Markdown

The lightweight counter snapshot behind a live traffic graph. It is a snapshot, not a rate — derive throughput from the difference between two polls and the difference between their sampled_at stamps.

update_time is when the NAS last reported, and sampled_at is when this server read it. They differ by up to one accounting interval, so two polls closer together than that interval return identical counters and a throughput of zero. That is the NAS being quiet, not the subscriber.

At a glance

Authentication
Staff token or session
Requires permission
prm_report_sessions Sessions report

Parameters

Parameter Description
idrequired path · integer Session id.

Try it on your own network.

50 subscribers for 7 days. You pay nothing.