---
title: "Retrieve an API key"
method: GET
path: "/api/temporary-keys/{id}/"
tags: ["temporaryApiKeys"]
---

# Retrieve an API key

`GET /api/temporary-keys/{id}/`

Retrieve an API key by ID.

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Response `200`

API key details.

- TemporaryAPIKeysRetrieveApiKeyResponse200
  - `id` string — API key ID.
  - `name` string — Key name.
  - `prefix` string — Key prefix.
  - `is_test` boolean — Test or production key.
  - `expiry_date` string, date-time — Expiry date.
  - `max_usage` integer — Max usage count. -1 = unlimited.
  - `rate_limit` number, double, nullable — Requests per minute. null uses the organization default.
  - `spending_limit` number, double — Spending limit in USD.
  - `created` string, date-time — When the API key was created.
  - `unique_organization_id` string, nullable — Owning organization UUID.

## Other responses

- `401` — Unauthorized
- `404` — Not Found

## Changes

> 6 revisions in range; 3 could not be searched.

- **2026-07-31** `c26d550029f8` — 4 breaking, 1 warning, 23 info
  - the response property `expiry_date` became nullable for the status `200`
  - the response property `rate_limit` became nullable for the status `200`
  - the response property `spending_limit` became nullable for the status `200`
  - the `rate_limit` response's property type/format changed from `integer`/`` to `number, null`/`double` for status `200`
  - …24 more

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/temporary-keys/:id/get.md)

---

[API](https://skmtc.dev/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.dev/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/c61efaf24756/schema)
