---
title: "Retrieve admin API key"
method: GET
path: "/organization/admin_api_keys/{key_id}"
---

# Retrieve admin API key

`GET /organization/admin_api_keys/{key_id}`

Retrieve a single organization API key

## Path parameters

- `key_id` string, required — The ID of the API key.

## Response `200`

Details of the requested API key.

- AdminApiKey — Represents an individual Admin API key in an org.
  - `object` 'organization.admin_api_key', required — The object type, which is always `organization.admin_api_key`
  - `id` string, required — The identifier, which can be referenced in API endpoints
  - `name` string, nullable — The name of the API key
  - `redacted_value` string, required — The redacted value of the API key
  - `created_at` integer, required — The Unix timestamp (in seconds) of when the API key was created
  - `expires_at` integer, nullable, required — The Unix timestamp (in seconds) of when the API key expires
  - `last_used_at` integer, nullable — The Unix timestamp (in seconds) of when the API key was last used
  - `owner` object, required
    - `type` string — Always `user`
    - `object` string — The object type, which is always organization.user
    - `id` string — The identifier, which can be referenced in API endpoints
    - `name` string — The name of the user
    - `created_at` integer — The Unix timestamp (in seconds) of when the user was created
    - `role` string — Always `owner`

## Changes

- **2026-06-16** `506a44267b3f` — 1 info
  - added the required property `expires_at` to the response with the `200` status
- **2026-05-01** `918e83711c91` — 3 breaking, 1 warning
  - the response property `last_used_at` became optional for the status `200`
  - the response property `name` became optional for the status `200`
  - response property `name` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - removed the optional property `value` from the response with the `200` status
- **2026-05-01** `72f65c459c35` — 1 warning
  - added the new `organization.admin_api_key` enum value to the `object` response property for the response status `200`
- **2026-04-29** `5b98524f8dee` — 3 breaking
  - the `created_at` response's property type/format changed from `integer`/`int64` to `integer`/`unixtime` for status `200`
  - the `last_used_at/anyOf[subschema #1]/` response's property type/format changed from `integer`/`int64` to `integer`/`unixtime` for status `200`
  - the `owner/created_at` response's property type/format changed from `integer`/`int64` to `integer`/`unixtime` for status `200`
- **2026-04-28** `fa32d6e7d961` — 1 info
  - the endpoint scheme security `AdminApiKeyAuth` was added to the API

[Change history](https://skmtc.dev/openai/apis/openai-api/changes/organization/admin_api_keys/:key_id/get.md)

---

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