# Get eSIM usage by day (/docs/api-reference/esims/get-usage-details)

`GET /v1/esims/{iccid}/usage/details`

Returns the current usage of an eSIM with a per-day breakdown.

Returns the same summary as `usage` plus `usages`, the per-day consumption entries
`{ date, usage, location }` with the data used in MB and `location` null when no country was reported.
`usages` is empty when the eSIM's plan does not report a per-day breakdown or it cannot be read.

## Parameters

| Name | In | Required | Type | Description |
|---|---|---|---|---|
| `iccid` | path | yes | `string` | The eSIM's ICCID, from the order item's `fulfillment.result.details.iccid`. |

## Responses

### 200

OK

- `text/plain`: `EsimDailyUsage`
- `application/json`: `EsimDailyUsage`
- `text/json`: `EsimDailyUsage`

### 400

Invalid partner request or model validation failure.

- `application/json`: `ErrorResponse`

### 401

Unauthorized

- `text/plain`: `ErrorResponse`
- `application/json`: `ErrorResponse`
- `text/json`: `ErrorResponse`

### 404

Not Found

- `text/plain`: `ErrorResponse`
- `application/json`: `ErrorResponse`
- `text/json`: `ErrorResponse`

### 429

Too many requests from this IP address. Wait for Retry-After seconds, then send the same request again; an order keeps its Idempotency-Key and body.

- `application/json`: `ErrorResponse`

### 500

Internal Server Error

- `text/plain`: `ErrorResponse`
- `application/json`: `ErrorResponse`
- `text/json`: `ErrorResponse`

The full schemas are in the OpenAPI specification at /openapi.json.