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

# List Api Keys

`GET /v1/keys`

## Request

- Base URL: `https://api.ctindex.io`
- URL: `https://api.ctindex.io/v1/keys`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

List every key linked to the caller (same ``user_email``).

Returns active and revoked keys both so the portal can render a
history view; the plaintext key is never returned — only the last 4
characters of the stored hash so the operator can recognise the row.

## Cookies

- `ctix_session` string, nullable

## Response `200`

Successful Response

- ApiKeyListResponse
  - `total` integer, required
  - `results` ApiKeyListEntry[], required
    - `id` string, uuid, required
    - `label` string, nullable
    - `tier` string, required
    - `is_active` boolean, required
    - `is_self` boolean, required
    - `created_at` string, date-time, nullable
    - `last_used_at` string, date-time, nullable
    - `expires_at` string, date-time, nullable
    - `last4` string, required
    - `legacy_mask` boolean
    - `example_call` string, nullable
  - `example_call` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ctindex/apis/certindex-api.md) · [All operations](https://skmtc.dev/ctindex/apis/certindex-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ctindex/apis/certindex-api/revisions/d5bc0ec85bc9?raw)
