Usage
Get usage snapshot
Returns customer-facing usage metrics and costs for the requested period. Supports summary totals and daily buckets for timestamped usage sources. Vault storage is intentionally omitted from totals because it is not yet periodized for arbitrary windows.
get/usage/v1
Query parameters
periodStartstring date-time
Period start date. Defaults to the start of the current calendar month.
periodEndstring date-time
Period end date. Defaults to now.
granularity'summary' | 'daily'
Whether to return period totals only or include daily buckets.
Response
Usage snapshot retrieved successfully