Query meter usage
MeterUsage
Query meter usage
Query aggregated usage from meter_usage table for a single meter with optional time-window bucketing
POST
Query meter usage
Documentation Index
Fetch the complete documentation index at: https://docs.flexprice.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Enter your API key in the format x-api-key <api-key>*
Body
application/json
Query parameters
Available options:
COUNT, SUM, AVG, COUNT_UNIQUE, LATEST, SUM_WITH_MULTIPLIER, MAX, WEIGHTED_SUM Example:
"2024-02-01T00:00:00Z"
Example:
"cust_123"
Example:
"mtr_abc"
Example:
"2024-01-01T00:00:00Z"
Example:
"2024-01-15T00:00:00Z"
Available options:
MONTH, MINUTE, 15MIN, 30MIN, HOUR, 3HOUR, 6HOUR, 12HOUR, DAY, WEEK, MONTH 
