get_bandwidth_usage
Retrieve top devices by combined upload and download bandwidth over a selected time period, optionally scoped to a specific Firewalla box. Helps identify high-bandwidth consumers.
Instructions
Top devices by upload plus download over the period, summed client-side from up to 10 times limit (1,000 at most) of the period's most recent flows (GET /v2/flows, 500 per request), so on a busy network the totals cover a sample. Scoped to box, else FIREWALLA_BOX_ID, else every box.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | No | Only flows of this box (box gid). Defaults to FIREWALLA_BOX_ID; without either, every box. | |
| limit | No | Number of top devices to return | |
| period | Yes | Time period for bandwidth calculation | |
| response_format | No | Response format. 'json' (default): the compact JSON response. 'markdown': the same response as readable markdown, its fields as bullet lists and each list of records as a table of up to 8 columns and DEFAULT_PAGE_SIZE rows (default 100), ending with a line that says what the view leaves out. Omitted or null: 'json'. Errors are JSON either way. | json |