Query Meter Usage
Billable Metrics
Query Meter Usage
Query aggregated usage data for a billable metric from the metering service.
GET
Query Meter Usage
Documentation Index
Fetch the complete documentation index at: https://docs.paygentic.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key authentication
Path Parameters
Unique identifier for a billable metric
Pattern:
^bm_[a-zA-Z0-9]+$Query Parameters
Start of query window (ISO 8601)
End of query window (ISO 8601)
Filter by customer/user ID
Time bucket granularity
Available options:
MINUTE, HOUR, DAY, MONTH JSON-encoded dimension filter (e.g. {"key":"value"})
Comma-separated dimension keys
Response
Usage data
Available options:
meter Unique identifier for a billable metric
Pattern:
^bm_[a-zA-Z0-9]+$Total aggregated value across the query window
Time-bucketed values. Only present when windowSize is specified.
Dimension-grouped values. Only present when groupBy is specified.