---
title: "Get all usages"
method: GET
path: "/gateway/usage"
tags: ["Gateway"]
---

# Get all usages

`GET /gateway/usage`

## Request

- Base URL: `https://api.tatum.io/v4/manage`
- URL: `https://api.tatum.io/v4/manage/gateway/usage`
- Auth: API key in header `x-api-key`

Retrieves global gateway usage for the authenticated user.

## Response `200`

Global gateway usage

- ProductUsageResponseDto
  - `sparkline` UsagePointDto[], required: Daily usage sparkline (last 30 days)
    - `usage_date` string, required: Date of the usage record
    - `amount` number, required: Usage amount for the day
  - `total` number, required: Total usage amount for the period
  - `endpointUsages` RecordstringProductUsageResponseDto: Construct a type with a set of properties K of type T
  - `methodRoutingOverrides` MethodRoutingOverrideUsageDto[]: Usage for method routing overrides
    - `methods` string[], required
    - `endpointUsages` RecordstringProductUsageResponseDto, required: Construct a type with a set of properties K of type T

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/tatum/apis/gateway-manage-api.md) - [All operations](https://skmtc.dev/tatum/apis/gateway-manage-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tatum/apis/gateway-manage-api/revisions/e0d2d0fa4ba4?raw)
