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

# List Api Keys

`GET /api/v1/auth/api-keys/`

## Response `200`

Successful Response

- ApiKeyResponse[]
  - `id` string, uuid, required
  - `name` string, required
  - `key_prefix` string, required
  - `owner` UserPublicResponse, required — Minimal public user info for embedding in other responses
    - `id` string, uuid, required
    - `username` string, required
    - `avatar_url` string, nullable
  - `created_at` string, date-time, required
  - `last_used_at` string, date-time, nullable, required
  - `expires_at` string, date-time, nullable, required
  - `key` string, nullable

---

[API](https://skmtc.dev/pypsa/apis/pypsa-app.md) · [All operations](https://skmtc.dev/pypsa/apis/pypsa-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pypsa/pypsa-app/revisions/a9fc864817c3/schema)
