List Usage Record All Time

GET {{2010-04-01-Accounts-AccountSid-Usage-Records-AllTime.json-Url}}/2010-04-01/Accounts/:AccountSid/Usage/Records/AllTime.json?Category=trunking-origination-mobile&StartDate=1976-09-29&EndDate=1976-09-29&IncludeSubaccounts=true&PageSize=16

Request Params

KeyDatatypeRequiredDescription
CategorystringThe usage category of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
StartDatestringOnly include usage that has occurred on or after this date. Specify the date in GMT and format as YYYY-MM-DD. You can also specify offsets from the current date, such as: -30days, which will set the start date to be 30 days before the current date.
EndDatestringOnly include usage that occurred on or before this date. Specify the date in GMT and format as YYYY-MM-DD. You can also specify offsets from the current date, such as: +30days, which will set the end date to 30 days from the current date.
IncludeSubaccountsbooleanWhether to include usage from the master account and all its subaccounts. Can be: true (the default) to include usage from the master account and all subaccounts or false to retrieve usage from only the specified account.
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":"ACAe5dfa5A6bBcdb0ce10BBe51beDffeEA","api_version":"in consequat pariatur dolore officia","as_of":"tempor enim","category":"\u003cstring\u003e","count":"ad","count_unit":"qui enim","description":"nulla commodo irure sunt","end_date":"1966-11-28","price":55524265.9763242,"price_unit":"dolore irure minim","start_date":"1966-02-09","subresource_uris":{},"uri":"veniam dolore proident","usage":"voluptate laboris in","usage_unit":"ipsum sunt Lorem sint dolor"},{"account_sid":"ACaFc0Bd702FEBB2b3eDeAe7af9A1Ae3E9","api_version":"ex dolore Lorem sunt","as_of":"aliquip","category":"\u003cstring\u003e","count":"culpa consequat nisi","count_unit":"et Dui","description":"pr","end_date":"2020-08-07","price":66575202.10735935,"price_unit":"amet sint laborum sed id","start_date":"2009-01-23","subresource_uris":{},"uri":"reprehenderit sint eiusmod","usage":"magna dolore","usage_unit":"nisi ut adipisicing"}],"end":-82344928,"first_page_uri":"https://SsSxUhmEkrujiNetOIGCPcnLkVFId.wxsSojQMJNOOjlRf3gPExP","next_page_uri":"http://aWYYulChLkP.vsigcRDqu3EShyBqdmAmiBS8e0jA-WU7DeI05JhGEWsJ2-Z.wqHU4","page":3501412,"page_size":-76446826,"previous_page_uri":"https://dJngfRcoYej.vzGFHru.7Ene1SBn4V2NlPU53qBkX+Fev","start":62782602,"uri":"http://wg.wxoahEzizBPx7QESWzBG6DNdPBMIuHMAV-LNv7apFUugqALsFm"}