---
title: "List API keys"
method: GET
path: "/api/v0beta1/api-keys"
tags: ["API keys"]
---

# List API keys

`GET /api/v0beta1/api-keys`

## Query parameters

- `scope` 'organization' | 'user' — Restrict the listing to a single scope. Omit to list both organization- and user-scoped keys merged together.
- `after` string — Pagination cursor returned by a previous list call.
- `limit` integer — Maximum number of API keys to return.

## Response `200`

Page of API keys visible to the caller: organization-scoped keys for their org plus user-scoped keys they own, unless narrowed with `scope`.

- ListApiKeysResponse
  - `data` ApiKeySummary[], required
    - `id` string, required
    - `name` string, required
    - `scope` 'organization' | 'user', required — Whether the key is scoped to the caller's organization or to the individual user who owns it.
    - `obfuscatedValue` string, required
    - `lastUsedAt` string, nullable, required
    - `createdAt` string, required
    - `updatedAt` string, required
  - `pageInfo` object, required
    - `after` string, nullable, required
    - `hasNextPage` boolean, required

## Other responses

- `400` — Error
- `401` — Error
- `403` — Error

---

[API](https://skmtc.net/amika/apis/amika-api.md) · [All operations](https://skmtc.net/amika/apis/amika-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/amika/amika-api/revisions/664536fccd0e/schema)
