---
title: "Api Key Usage"
method: GET
path: "/v1/api-keys/{key_id}/usage"
---

# Api Key Usage

`GET /v1/api-keys/{key_id}/usage`

## Request

- Base URL: `https://api.app.membase.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.app.membase.ai/v1/api-keys/{key_id}/usage`
- Auth: none declared

What a developer key has been doing over the last `days`: calls per day, refused
calls, calls per tool, and the twenty most recent calls.

## Path parameters

- `key_id` string, required

## Query parameters

- `days` integer

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error
- `default`: Error envelope (ADR 0027)

---

[API](https://skmtc.dev/membase/apis/membase-hosted-api.md) · [All operations](https://skmtc.dev/membase/apis/membase-hosted-api/llms.txt) · [OpenAPI document](https://skmtc.dev/membase/apis/membase-hosted-api/revisions/e0ac58cdb320?raw)
