---
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

---

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