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

# List Api Keys

`GET /users/me/api-keys`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/users/me/api-keys`
- Auth: none declared

List all the caller's keys (every scope, including revoked).

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- ApiKeyListResponse: ``GET /users/me/api-keys`` → ``{"api_keys": [...]}``.
  - `api_keys` ApiKeyOut[], required
    - `id` string, required
    - `name` string, required
    - `prefix` string, required
    - `purpose` string, required
    - `company_id` string, nullable
    - `company_name` string, nullable
    - `last_used_at` string, date-time, nullable
    - `revoked_at` string, date-time, nullable
    - `expires_at` string, date-time, nullable
    - `created_at` string, date-time, required
    - `is_active` boolean, required

## Other responses

- `422`: Validation Error

---

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