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

# List API keys

`GET /v1/keys`

## Request

- Base URL: `https://api.cadencercs.com`
- URL: `https://api.cadencercs.com/v1/keys`
- Auth: HTTP bearer

Prefixes and metadata only. Key material is shown once, at creation.

## Response `200`

Keys.

- object
  - `keys` ApiKey[], required
    - `id` string, required
    - `key_prefix` string, required: The visible prefix, e.g. `sk_sandbox_a1b2c3`. The key itself is shown once.
    - `kind` 'sandbox' | 'live', required
    - `label` string, nullable
    - `brand_id` string, nullable: Set on a brand-scoped key; null on an account-wide one.
    - `revoked_at` string, nullable
    - `created_at` string

## Other responses

- `401`: Not signed in, and no account-linked API key was sent.
- `500`: Unexpected server error. The body is always JSON.

---

[API](https://skmtc.dev/cadencercs/apis/cadence-api.md) · [All operations](https://skmtc.dev/cadencercs/apis/cadence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cadencercs/apis/cadence-api/revisions/9438443c2081?raw)
