Get all usage
amberflo_get_all_usageGet total usage across all meters over a time range, optionally grouped by customer or filtered to one customer. API: GET /usage/all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time_in_seconds | No | Range end, unix epoch seconds. Defaults to now if omitted. | |
| group_by_customer_id | No | When true, group results by customer (sends groupBy=customerId). | |
| filter_by_customer_id | No | Restrict results to a single customerId. | |
| start_time_in_seconds | Yes | Range start, unix epoch seconds (inclusive). | |
| time_grouping_interval | Yes | Bucket size: HOUR | DAY | WEEK | MONTH. |