github.com/twilio/twilio-go@v1.20.1/rest/wireless/v1/docs/UsageRecordsApi.md (about) 1 # UsageRecordsApi 2 3 All URIs are relative to *https://wireless.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**ListAccountUsageRecord**](UsageRecordsApi.md#ListAccountUsageRecord) | **Get** /v1/UsageRecords | 8 9 10 11 ## ListAccountUsageRecord 12 13 > []WirelessV1AccountUsageRecord ListAccountUsageRecord(ctx, optional) 14 15 16 17 18 19 ### Path Parameters 20 21 This endpoint does not need any path parameter. 22 23 ### Other Parameters 24 25 Other parameters are passed through a pointer to a ListAccountUsageRecordParams struct 26 27 28 Name | Type | Description 29 ------------- | ------------- | ------------- 30 **End** | **time.Time** | Only include usage that has occurred on or before this date. Format is [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). 31 **Start** | **time.Time** | Only include usage that has occurred on or after this date. Format is [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). 32 **Granularity** | **string** | How 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. 33 **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. 34 **Limit** | **int** | Max number of records to return. 35 36 ### Return type 37 38 [**[]WirelessV1AccountUsageRecord**](WirelessV1AccountUsageRecord.md) 39 40 ### Authorization 41 42 [accountSid_authToken](../README.md#accountSid_authToken) 43 44 ### HTTP request headers 45 46 - **Content-Type**: Not defined 47 - **Accept**: application/json 48 49 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 50 [[Back to Model list]](../README.md#documentation-for-models) 51 [[Back to README]](../README.md) 52