---
title: "List Api Keys"
method: GET
path: "/admin/api-keys/"
tags: ["admin", "api-keys"]
---

# List Api Keys

`GET /admin/api-keys/`

## Query parameters

- `scope` 'ADMIN' | 'USER'
- `include_inactive` boolean

## Response `200`

Successful Response

- UserApiKeyResponse[]
  - `key_id` string, required
  - `user_id` string, required
  - `scope` 'ADMIN' | 'USER', required
  - `key_prefix` string, required
  - `name` string, nullable, required
  - `is_active` boolean, required
  - `created_at` string, date-time, required

## Other responses

- `404` — Not found
- `422` — Validation Error

## Changes

- **2026-09-19** `25feb5dd4c71` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/trytrata/apis/fastapi/changes/admin/api-keys/get.md)

---

[API](https://skmtc.dev/trytrata/apis/fastapi.md) · [All operations](https://skmtc.dev/trytrata/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/trytrata/apis/fastapi/revisions/118b3bb8f2ef?raw)
