---
title: "List Keys"
method: GET
path: "/v1/auth/keys"
tags: ["auth"]
---

# List Keys

`GET /v1/auth/keys`

## Request

- Base URL: `https://api.mocapless.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mocapless.com/v1/auth/keys`
- Auth: none declared

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Response `200`

Successful Response

- ApiKeyResponse[]
  - `id` string, required
  - `name` string, required
  - `prefix` string, required
  - `createdAt` string, date-time, required
  - `lastUsedAt` string, date-time, nullable, required
  - `revoked` boolean, required

## Other responses

- `422`: Validation Error

---

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