v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-05-061971481.8 MB
Api20100401Record

Retrieve a list of usage-records belonging to the account used to make the request

Retrieve a list of usage-records belonging to the account used to make the request

get/2010-04-01/Accounts/{AccountSid}/Usage/Records.json

Path parameters

AccountSidstring required

The SID of the Account that created the UsageRecord resources to read.

Query parameters

Categorystring

The usage category of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.

StartDatestring date

Only 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.

EndDatestring date

Only 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.

IncludeSubaccountsboolean

Whether 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.

PageSizeinteger

How many resources to return in each list page. The default is 50, and the maximum is 1000.

Pageinteger

The page index. This value is simply for client state.

PageTokenstring

The page token. This is provided by the API.

Response

OK

endinteger
first_page_uristring uri
next_page_uristring uri nullable
pageinteger
page_sizeinteger
previous_page_uristring uri nullable
startinteger
uristring uri