List Usage Record

GET {{v1-Sims-SimSid-UsageRecords-Url}}/v1/Sims/:SimSid/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 occurred on or before this date, specified in ISO 8601. The default is the current time.
StartstringOnly include usage that has occurred on or after this date, specified in ISO 8601. The default is one month before the end parameter value.
GranularitystringHow to summarize the usage by time. Can be: daily, hourly, or all. The default is 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":[{"sim_sid":"dolore quis commodo","account_sid":"AC50dFFE7747D9b1EA1AbF1Bc9cAfBdbeB","period":{},"commands":{},"data":{}},{"sim_sid":"eu commodo elit a","account_sid":"ACE12B29Dd8ea3FAA7Fea6CEc2C9aafb9d","period":{},"commands":{},"data":{}}],"meta":{"first_page_url":"https://JisrBNfDva.yucoxN,PXOo9,2hhfUN6BO1xxFJLA870PDQjQ-1WBsOfXVrq.-liS0ej","next_page_url":"https://MUUyFwGaqe.ofgQERhjOPsLiqBxo8-Lge1AWHxYjIcqDWA,eh9j77gHu1UO47JL","page":38459748,"page_size":53153286,"previous_page_url":"http://IkKXhD.eoxrZuJB-auMV3","url":"https://IWFgslJLCKMusofdAOtLxHNqVljbthEI.neagxLLY+tVWSR","key":"officia eiusmod pariatur ea"}}