List billing detail records
Returns billing detail records for the authenticated organization.
Each record includes billed amounts and usage information for the selected bucket.
Aggregation behavior is controlled by granularity:
month: group by monthday: group by dayhouror omission: group by hour
Time filters use startTime and endTime, which must be provided together when either is set. If both are omitted, hour and day default to the most recent 30 days, and month defaults to the most recent 3 months.
Retention windows also depend on granularity:
hour:startTimemust be within the most recent 6 monthsday:startTimemust be within the most recent 1 yearmonth: the month containingstartTimemust be within the most recent 24 months
Authorization
API key for /v1 requests.
Query parameters
Page size. Defaults to 20. Maximum is 100. Values above 100 will be coerced to 100.
110020Restricts results to a single warehouse ID.
Restricts results to a single cluster ID.
Filters by a partial cluster name match. When combined with clusterId, the selected cluster must also match this filter.
Resource type filter. compute means non-BYOC compute usage, cache means cache capacity usage, storage means storage usage, byoc means BYOC compute charges, support means support charges, and frontend_compute means frontend compute usage.
computecachestoragebyocsupportfrontend_computeAggregation level. Use hour, day, or month. Defaults to hour.
hourdaymonthdayInclusive lower bound of the billing detail window. startTime and endTime must be provided together when either is set. For hour, startTime must be within the most recent 6 months; for day, within the most recent 1 year; for month, the month containing startTime must be within the most recent 24 months. RFC3339 is recommended.
2026-04-01T00:00:00ZExclusive upper bound of the billing detail window. startTime and endTime must be provided together when either is set. For month, the month containing endTime is used as the last selected month. RFC3339 is recommended.
2026-04-02T00:00:00ZPrimary sort field. Supported values are serviceStartTime and serviceEndTime. Defaults to serviceStartTime.
serviceStartTimeserviceEndTimeSort direction. Supported values are asc and desc. Defaults to desc.
ascdescResponse
Billing detail records returned successfully.
Item fields
Billing detail row ID.
Parent billing ID when available.
Warehouse ID.
Resource type for the billed line item.
Undiscounted amount before pricing discounts are applied, represented as a decimal string.
Final billed amount after pricing discounts are applied, represented as a decimal string.
Portion of billedAmount that is pending offset or settlement, represented as a decimal string.
Billing month in YYYY-MM format when available.
Organization ID.
Aggregated service start time.
Aggregated service end time.
Earliest creation time among the aggregated rows.
Latest update time among the aggregated rows.
Display label for the billed resource, when available.
Resource ID, when available.
Pricing discount amount, represented as a decimal string. This is typically grossAmount - billedAmount.
Human-readable usage quantity for the billed resource.
Cluster name when the billing row is cluster-scoped.
Cluster ID when the billing row is cluster-scoped.
Total billedAmount across the filtered billing detail result set, after pricing discounts are applied, represented as a decimal string.
123.456