# `Twilio.Wireless.V1.Sim.UsageRecordService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/wireless/v1/sim/usage_record_service.ex#L2)

Usage information for SIMs

Operations: `list`

# `list`

```elixir
@spec list(Twilio.Client.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Page.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `ListUsageRecord` | Tags: WirelessV1UsageRecord

## Query Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `End` | string (date-time) | Only include usage that occurred on or before this date, specified in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). The default is the current time. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `Start` | string (date-time) | Only include usage that has occurred on or after this date, specified in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). The default is one month before the `end` parameter value. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `Granularity` | string | How 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. |

# `stream`

```elixir
@spec stream(Twilio.Client.t(), String.t(), map(), keyword()) :: Enumerable.t()
```

Stream:  (lazy auto-pagination).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
