Get usage report
Returns meter-level usage aggregated by set granularity over the specified date range.
- Can be filtered by
projectNames,paymentMethodIdsormeterNames. - Maximum date range depends on granularity: 31 days (
hour), 1 year (day), unlimited (week,month,year). - Day boundaries use UTC;
startDateis inclusive andendDateis exclusive (previously also inclusive). - To get a monthly report for January, use
startDate=2026-01-01andendDate=2026-02-01. - The response include
dateanddate_processedfields.dateis the time when the usage happened, whiledate_processedis when the usage was ingested into our system and processed for billing purposes. - Set
filterOnReportedDate=trueto filter bydate_processedinstead ofdate. This might include usage that occurred before thestartDateif it was processed during the date range. - Set
format=csvanddownload=trueto receive a file download.
RBAC Capability Required: core.customer.get
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
End date of the usage report (exclusive). This use to be inclusive. To get a full month of usage, set both startDate and endDate to the first of the month. Maximum range depends on granularity: 31 days for 'hour', 1 year for 'day', unlimited for 'week', 'month', or 'year'.",
Start date of the usage report (inclusive).
When true, filters usage by report_time (when the usage was charged) rather than sample_time (when it occurred). Useful for reconciling against invoice dates. Defaults to false.
Fields to group results by. Only 'meter' is currently valid. Defaults to ['meter'].