---
title: "Get Key"
method: GET
path: "/api/v1/api-keys/{api_key_id}"
tags: ["api-keys"]
---

# Get Key

`GET /api/v1/api-keys/{api_key_id}`

## Request

- Base URL: `https://api.withverifa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.withverifa.com/api/v1/api-keys/{api_key_id}`
- Auth: none declared

Retrieve a specific API key by its public ID.

## Path parameters

- `api_key_id` string, required

## Response `200`

Successful Response

- ApiKeyResponse: Mirrors ``_api_key_response()`` in routes/api_keys.py. ``full_key`` is only present for sandbox keys; ``warning``/``raw_secret`` fields are added on creation. ``extra='allow'`` keeps those flowing.
  - `id` string, required
  - `type` string, nullable
  - `label` string, nullable
  - `note` string, nullable
  - `environment` string, nullable
  - `key_prefix` string, nullable
  - `key_type` string, nullable
  - `is_active` boolean, nullable
  - `scopes` string[], nullable
  - `api_version` string, nullable
  - `default_key_inflection` string, nullable
  - `allowed_ips` string[], nullable
  - `allowed_origins` string[], nullable
  - `expires_at` string, nullable
  - `last_used_at` string, nullable
  - `created_at` string, nullable
  - `full_key` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/withverifa/apis/verifa.md) · [All operations](https://skmtc.dev/withverifa/apis/verifa/llms.txt) · [OpenAPI document](https://skmtc.dev/withverifa/apis/verifa/revisions/7288c82c9e33?raw)
