GET /v1/meters/{meterId}/aggregate
GET
/v1/meters/{meterId}/aggregateAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
meterIdstringrequiredmin length 1
Query parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
customerIdstringmin length 1
atstringmin length 1
limitstringmatches ^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$
cursorstringmin length 1
Responses
200
Success
dataobjectrequiredShow propertiesHide properties
meterIdstringrequiredmin length 1
eventNamestringrequiredmin length 1
aggregationTypestringrequiredAllowed:
sumcountmaxwindowGrainstringrequiredAllowed:
dayweekmonthwindowStartAtstringrequiredmin length 1
windowEndAtstringrequiredmin length 1
aggregatedQuantitynumberrequiredcustomersobjectrequiredShow propertiesHide properties
itemsobject[]requiredShow propertiesHide properties
Array of
objectcustomerIdstringrequiredmin length 1
aggregatedQuantitynumberrequiredhasMorebooleanrequiredtotalnumberrequirednextCursorstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1