---
title: "Get Key"
method: GET
path: "/api_keys/{api_key_id}"
tags: ["Authentication"]
---

# Get Key

`GET /api_keys/{api_key_id}`

Get a single key.

## Path parameters

- `api_key_id` string, required

## Headers

- `X-Chutes-Hotkey` string, nullable
- `X-Chutes-Signature` string, nullable
- `X-Chutes-Nonce` string, nullable
- `Authorization` string, nullable

## Response `200`

Successful Response

- APIKeyResponse — Normal representation of API keys.
  - `api_key_id` string, required
  - `user_id` string, required
  - `admin` boolean, required
  - `name` string, required
  - `created_at` string, date-time, required
  - `last_used_at` string, date-time, nullable, required
  - `scopes` APIKeyScopeResponse[], nullable, required
    - `scope_id` string, required
    - `object_type` string, nullable
    - `object_id` string, nullable
    - `method` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-26** `8d909638091e` — 1 info
  - endpoint added
- **2026-08-22** `05d9af05d87e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/chutes/apis/fastapi/changes/api_keys/:api_key_id/get.md)

---

[API](https://skmtc.dev/chutes/apis/fastapi.md) · [All operations](https://skmtc.dev/chutes/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chutes/fastapi/revisions/8d909638091e/schema)
