Consumptions
Overview
Track and query usage over time. See raw records and rollups for reporting and billing.
Primary Concepts
- Consumption Record: a single measured unit with time.
- Meter: what you measure and how it grows.
- Aggregation: totals over a time window.
- Attribution: who or what used the resource.
- Window: the time range you query.
Typical Scenarios
Add usage records, fetch recent usage, and get aggregates for billing, quotas, or dashboards.
API Versioning
- Only the latest version of each endpoint is displayed in this documentation.
- Older versions are not shown but remain available in the API.
- Always use the latest version shown when building or updating integrations.