# Daily storage charges

> Your daily face-vector storage charges over the last days (default 90, max 365), newest first. (GET /v1/usage/storage)

Source: https://sightradar.com/docs/api/wallet-and-usage/daily-storage-charges

Your daily face-vector storage charges over the last `days` (default 90,
max 365), newest first. `credits` is what was debited; `credits_owed` is
the full charge (the difference is uncollected arrears during a wallet
shortfall); `dry_run` marks a shadow-mode projection that was never
billed. Free.

### Example request

```bash
curl -X GET "https://api.sightradar.com/v1/usage/storage" \
  -H "Authorization: Bearer $SR_API_KEY"
```

### Parameters

| Name   | In    | Type      | Description |
| ------ | ----- | --------- | ----------- |
| `days` | query | `integer` |             |

### Response body

| Field                 | Type       | Description |
| --------------------- | ---------- | ----------- |
| `days`                | `integer`  |             |
| `series`              | `object[]` |             |
| `total_credits`       | `integer`  |             |
| `total_credits_owed`  | `integer`  |             |
| `total_vector_days`   | `integer`  |             |
| `latest_vector_count` | `integer`  |             |

### Status codes

| Status | Meaning                     |
| ------ | --------------------------- |
| `200`  | Storage history.            |
| `401`  | Missing or invalid API key. |
