List Account Usage Record

GET {{v1-UsageRecords-Url}}/v1/UsageRecords?End=1962-05-25T08:17:34.546Z&Start=1962-05-25T08:17:34.546Z&Granularity=hourly&PageSize=618

Request Params

KeyDatatypeRequiredDescription
EndstringOnly include usage that has occurred on or before this date. Format is ISO 8601.
StartstringOnly include usage that has occurred on or after this date. Format is ISO 8601.
GranularitystringHow to summarize the usage by time. Can be: daily, hourly, or all. A value of all returns one Usage Record that describes the usage for the entire period.
PageSizenumberHow many resources to return in each list page. The default is 50, and the maximum is 1000.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"usage_records":[{"account_sid":"ACF60E1fd7c2Eb8bE6358428D6B4D7b6CA","period":{},"commands":{},"data":{}},{"account_sid":"AC766b7aafeBaF9CAB52bc3d7F1B63C696","period":{},"commands":{},"data":{}}],"meta":{"first_page_url":"http://rqEItDYnxs.xyxeHEMvMm1mLarOoB9sgv9gQyI7PLfd.jXVq1hN79-3-mFQ.wi3xqhXEd5FlvpzjY-YOtu","next_page_url":"https://VLYVIKuwbEjnm.ghjdn99Sc8l0","page":91779705,"page_size":2231937,"previous_page_url":"http://avnjSSWaYqSl.jxkogtT729pn4-ayQqRPVjAB1EgRijG4,gkBTJFap0DJ","url":"http://nXvAL.mysgdllpeMGKzzPWMtlv5DfFxTPYpoE5K2m","key":"consequat pariatur aute"}}