---
title: "List API keys"
method: GET
path: "/v1/account/api-keys"
tags: ["Accounts"]
---

# List API keys

`GET /v1/account/api-keys`

Lists all active API keys and the 20 most recently revoked API keys for the authenticated account without returning secret token material.

## Response `200`

API keys loaded. Includes all active keys and the 20 most recently revoked keys.

- AccountApiKeysResponse — API key list response. Includes all active keys and the 20 most recently revoked keys.
  - `apiKeys` AccountApiKeySummary[], required
    - `id` string, required
    - `name` string, required
    - `tokenPrefix` string, required
    - `createdAt` string, date-time, required
    - `lastUsedAt` string, date-time, nullable, required
    - `revokedAt` string, date-time, nullable, required
    - `currentDayRequestCount` integer, required
    - `currentMonthRequestCount` integer, required
  - `nextActions` string[], required

## Other responses

- `400` — Bad request.
- `401` — Unauthorized.
- `429` — Too many requests.
- `500` — Internal server error.

---

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