unifi-legacy-client-stats
Retrieve per-client bandwidth statistics (tx/rx rates and bytes) for all active UniFi devices using the legacy controller API, enabling network monitoring and troubleshooting.
Instructions
Get client bandwidth statistics from the legacy UniFi controller API. Returns per-client tx_bytes, rx_bytes, tx_rate, rx_rate for all active clients. Uses the old controller API endpoint (/proxy/network/api/s/{site}/stat/sta) which is not in the Integration API OpenAPI spec. This is the only way to get per-client bandwidth data on UniFi OS devices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site name (e.g. 'default'). Use site ID UUID for other sites. | default |