---
title: "Data Usage Details"
url: "https://docs.sixfab.com/api/connect/assets/usages/"
last_updated: "2026-11-26"
---

# Data Usage Details

List usage details for a specific SIM type attached to an asset.

**SuperSIM (supersim):**

- Supports `hourly` (last 14 days) and `daily` (last 3 months).
- Returns usage split by `network`, showing `upload` and `download` bytes.

**ProSIM (prosim):**

- Supports **ONLY** `daily` (last 3 months). Hourly requests will return an error.
- Returns usage by `service_profile`, showing the `total` bytes used.

> [!WARNING]
> **Reporting Recommendation:**
>
> If you are using this API endpoint to generate critical reports (e.g., consumption reports, balance analysis, etc.), please note the data finalization periods:
>
> - **SuperSIM:** Wait at least **24 hours** after the reported period ends.
> - **ProSIM:** Due to delayed CDR reconciliations from global roaming partners, wait up to **10 days** for data to be completely finalized.
>
> During these periods, you may notice discrepancies as late-arriving consumption events are processed.

**GET /v1/assets/:asset_id/sims/:sim_type/usages · cURL**

```bash
curl 'https://api.sixfab.com/v1/assets/[ASSET_ID]/sims/supersim/usages' \
  -H 'X-API-Key: [YOUR_API_KEY]'
```

**GET /v1/assets/:asset_id/sims/:sim_type/usages · Python**

```python
import requests

response = requests.get(
    "https://api.sixfab.com/v1/assets/[ASSET_ID]/sims/supersim/usages",
    headers={"X-API-Key": "[YOUR_API_KEY]"},
)
print(response.json())
```

**GET /v1/assets/:asset_id/sims/:sim_type/usages · Node.js**

```javascript
const response = await fetch("https://api.sixfab.com/v1/assets/[ASSET_ID]/sims/supersim/usages", {
  headers: {
    "X-API-Key": "[YOUR_API_KEY]",
  },
});
console.log(await response.json());
```

**Response · 200**

```json
{
  "sim_type": "supersim",
  "granularity": "hourly",
  "records": [
    {
      "start_time": 1791530400,
      "end_time": 1791530400,
      "usages": [
        {
          "network": "[NETWORK]",
          "download": 0,
          "upload": 0
        }
      ]
    }
  ]
}
```

**Response · 400**

```json
{
  "message": "[MESSAGE]"
}
```

**Response · 404**

```json
{
  "message": "Asset not found"
}
```

### Path parameters

- `sim_type` (enum, Required): Type of the SIM. Use ‘supersim’ for SuperSIMs and ‘prosim’ for ProSIMs.

  - Possible enum values: `supersim`, `prosim`

- `asset_id` (string, Required): Serial Number, UUID, SIM SID or SIM ICCID

### Query parameters

- `granularity` (enum): Defaults to `hourly`.

  - Possible enum values: `hourly`, `daily`

### Returns

Success

- `sim_type` (enum, Required): The type of SIM queried

  - Possible enum values: `supersim`, `prosim`

- `granularity` (enum, Required): Granularity of the records

  - Possible enum values: `hourly`, `daily`

- `records` (array of objects, Required)

  - `start_time` (integer or number, Required): Start time of period, as unix timestamp

  - `end_time` (integer or number, Required): End time of period, as unix timestamp

  - `usages` (array of objects, Required): List of usages. For SuperSIM, returns network/upload/download. For ProSIM, returns service_profile/total.

    - `network` (string, Required): Network ID
    - `download` (integer, Required): Total download in bytes for network
    - `upload` (integer, Required): Total upload in bytes for network
