---
title: "Get aggregated total data usage"
method: GET
path: "/usage/data/total"
tags: ["SIMs (Devices)"]
---

# Get aggregated total data usage

`GET /usage/data/total`

## Request

- Base URL: `https://dashboard.hologram.io/api/1`
- URL: `https://dashboard.hologram.io/api/1/usage/data/total`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/hologram/apis/hologram-rest-api-v1/docs/usage/data/total/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `timestart` integer
- `timeend` integer

## Response `200`

OK

- UsageTotalResponse
  - `success` boolean: Indicates whether the request was successful.
  - `data` object[]: Always contains exactly one element with the aggregated totals
    - `total_bytes` string: Total bytes used in the requested period
    - `total_sessions` string: Total number of data sessions
    - `reporting_windows_with_usage` string: Total number of reporting windows that recorded usage

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/hologram/apis/hologram-rest-api-v1.md) - [All operations](https://skmtc.dev/hologram/apis/hologram-rest-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/hologram/apis/hologram-rest-api-v1/revisions/1bc07dcd1631?raw)
