---
title: "List API keys"
method: GET
path: "/keys"
---

# List API keys

`GET /keys`

## Request

- Base URL: `https://namemy.app/api/v1`
- URL: `https://namemy.app/api/v1/keys`
- Auth: API key in cookie `next-auth.session-token`

Returns all API keys for the authenticated user.
Requires session-based authentication (not API key).

## Response `200`

List of API keys

- object
  - `keys` ApiKey[]
    - `id` string
    - `name` string
    - `keyPrefix` string
    - `permissions` string[]
    - `rateLimit` integer
    - `lastUsedAt` string, date-time
    - `expiresAt` string, date-time
    - `isActive` boolean
    - `createdAt` string, date-time

## Other responses

- `401`: Missing or invalid API key

---

[API](https://skmtc.dev/namemy/apis/namemy-app-api.md) · [All operations](https://skmtc.dev/namemy/apis/namemy-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/namemy/apis/namemy-app-api/revisions/1c302ede4b63?raw)
