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.
curl --request GET \
--url https://api.case.dev/usage/v1 \
--header 'Authorization: Bearer <token>'API key starting with sk_case_
Period start date. Defaults to the start of the current calendar month.
Period end date. Defaults to now.
Whether to return period totals only or include daily buckets.
summary, daily Usage snapshot retrieved successfully
Was this page helpful?
curl --request GET \
--url https://api.case.dev/usage/v1 \
--header 'Authorization: Bearer <token>'