List usage summaries
Draft scaffold — not implemented or available in the API.
Returns usage per meter between startsAt (included) and endsAt (excluded), bucketed by granularity, with what it cost the buyer in spend. Filter by customer, customerUnit, segment, product, order or meters, and split rows with groupBy; omit customer for usage across all customers. With customer, includeChildren: true adds its child customers’ usage. basis defaults to usage, which buckets by when usage happened; invoice buckets posted usage charges by invoice posting time. Summaries are computed on request, so there is no retrieve.
Authentication
Headers
This endpoint is in the usage_summaries=v1 beta. Send this header to use it.
Query parameters
The nextCursor of the previous page. Omit it for the first page.
Up to 3 of meter, customer, customerUnit, segment, product, outcome, or a path in the meter’s own groupBy. With segment, a customer in two segments counts in both groups, and customers in none are grouped under null.
Pass true to include the usage of customer’s child customers; split it with groupBy: ["customer"]. Defaults to false. Needs customer, and cannot be sent with customerUnit.
Include the unit subtree; defaults to true.
Only usage by customers in this segment, by key or seg_ ID. Cannot be sent with customer.
Response
The type of object. Always list.
Send it as cursor to get the next page. Null on the last page.
Identifies the snapshot this list was calculated from. Every page of the list shares it, and late events or corrections under basis: usage produce a new one.