---
title: "GET /v4/workspaces/{workspaceId}/api-keys/usage"
method: GET
path: "/v4/workspaces/{workspaceId}/api-keys/usage"
tags: ["Workspace API Keys"]
---

# GET /v4/workspaces/{workspaceId}/api-keys/usage

`GET /v4/workspaces/{workspaceId}/api-keys/usage`

## Request

- Base URL: `https://api.merkl.xyz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.merkl.xyz/v4/workspaces/{workspaceId}/api-keys/usage`
- Auth: `apiKey` (a scheme the document does not define)

Usage totals across the keys the caller may see.

## Path parameters

- `workspaceId` string, uuid, required

## Query parameters

- `days` number: Number of days to look back (max 90)

## Response `200`

Response for status 200

- object
  - `totalCalls` number, required
  - `keys` object[], required
    - `id` string, required
    - `prefix` string, required
    - `description` string, required
    - `totalCalls` number, required

## Changes

- **2026-10-22** `b32d82e3d5c9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/merkl/apis/merkl-api/changes/v4/workspaces/:workspaceId/api-keys/usage/get.md)

---

[API](https://skmtc.dev/merkl/apis/merkl-api.md) - [All operations](https://skmtc.dev/merkl/apis/merkl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/merkl/apis/merkl-api/revisions/60ffe2c7d887?raw)
