---
title: "Get API key"
method: GET
path: "/api-keys/{id}"
tags: ["api-keys"]
---

# Get API key

`GET /api-keys/{id}`

Fetch an API key by ID.

## Path parameters

- `id` string, required

## Headers

- `X-API-Version` string, required

## Response `200`

API key object.

- 4b43bcdb2376818c77070
  - `data` ApiKeyResponseDtoV2, required
    - `id` string, required — Auto-generated ID for an API key
    - `name` string, required — API key name
    - `description` string — API key description
    - `status` 'enabled' | 'disabled', required — API key status, indicates if an API keys is enabled or disabled.
    - `environment` object, nullable, required — ID of an environment the API key belongs to.
    - `type` 'public' | 'secret' | 'proxy', required — Type of an API key.
    - `token` string — Value of an API key. This field is immutable, and for secret keys it's only visible upon creation.
    - `rate_limit` number, required — Current limit in requests-per-second for the API key.
    - `created_at` string, date-time, required — Date when API key was created.
    - `disabled_at` string, date-time — Date when API key was disabled.

## Other responses

- `401` — Error: Invalid API key.
- `404` — API key with the given ID was not found.
- `429` — Error: API key has exceeded its rate limit.

---

[API](https://skmtc.net/fingerprint/apis/management-api.md) · [All operations](https://skmtc.net/fingerprint/apis/management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fingerprint/management-api/versions/b17eccec9d47/schema)
