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

# List Keys

`GET /v1/keys`

List all API keys.

Requires master key authentication.

## Query parameters

- `skip` integer
- `limit` integer

## Response `200`

Successful Response

- KeyInfo[]
  - `allowed_models` string[], nullable, required
  - `created_at` string, required
  - `exclude_from_budget` boolean, required
  - `expires_at` string, nullable, required
  - `id` string, required
  - `is_active` boolean, required
  - `key_name` string, nullable, required
  - `key_prefix` string, nullable, required
  - `last_used_at` string, nullable, required
  - `metadata` object, required
  - `reject_user_mismatch` boolean, nullable, required
  - `user_id` string, nullable, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-06** `f7875304ff05` — 1 info
  - added the required property `items/reject_user_mismatch` to the response with the `200` status
- **2026-07-23** `2a163c690f59` — 1 info
  - added the required property `items/exclude_from_budget` to the response with the `200` status
- **2026-07-20** `bcd0082085cb` — 2 info
  - added the required property `items/allowed_models` to the response with the `200` status
  - added the required property `items/key_prefix` to the response with the `200` status
- **2026-07-20** `d9a87177ce4a` — 1 info
  - the endpoint scheme security `XApiKeyAuth` was added to the API
- **2026-07-14** `0ad4e5f1cc3e` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API

[Full history](https://skmtc.dev/mozilla-ai/apis/otari/changes/v1/keys/get.md)

---

[API](https://skmtc.dev/mozilla-ai/apis/otari.md) · [All operations](https://skmtc.dev/mozilla-ai/apis/otari/llms.txt) · [OpenAPI document](https://skmtc.dev/mozilla-ai/apis/otari/revisions/c05befed4db4?raw)
