---
title: "Retrieve account usage totals"
method: GET
path: "/v2/usage"
tags: ["Usage v2"]
---

# Retrieve account usage totals

`GET /v2/usage`

Get aggregated usage information for an account's data during a time period.

## Query parameters

- `from` string, required
- `to` string, required

## Response `200`

OK

- object
  - `from` string — The calculated starting time (exclusive) used internally.
  - `to` string — The calculated ending time (exclusive) used internally.
  - `results` object
    - `plan_bytes` number
    - `restored_bytes` number
    - `xd_vr_bytes` number — The number of bytes of logs stored for this variable retention type where x is 3, 7, 14, or 30 day

## Other responses

- `400` — Bad request

---

[API](https://skmtc.net/mezmo/apis/pipeline-api.md) · [All operations](https://skmtc.net/mezmo/apis/pipeline-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mezmo/pipeline-api/revisions/fb2535545d90/schema)
