Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Retrieve API Key (Admin API) changedapi/admin/api_keys/retrieve

Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+15added
Lines−16removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits5to this page, all time

# Retrieve API Key (Admin API) ## Path parameters ## Returns ## Example ### Response (200) ## Retrieve API Key (Admin API) ### Path Parameters ### Returns ### Example #### Response

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Retrieve API Key (Admin API)
3url: https://platform.claude.com/docs/en/api/admin/api_keys/retrieve
4---
1# Retrieve API Key (Admin API)
52 
6## Retrieve API Key (Admin API)
3**GET** `/v1/organizations/api_keys/{api_key_id}`
74 
8**get** `/v1/organizations/api_keys/{api_key_id}`
9 
105Retrieve information about a single API key in your organization, looked up by its ID. This Admin API endpoint requires an Admin API key, is intended for programmatic key management, and never returns the key's secret value. To view or create your own API keys, go to [API keys](https://platform.claude.com/settings/keys) in the Claude Console.
116 
12### Path Parameters
7## Path parameters
138 
149- `api_key_id: string`
1510 
1611 ID of the API key.
1712 
18### Returns
13## Returns
1914 
20- `APIKey object { id, created_at, created_by, 7 more }`
15- `APIKey object`
2116 
2217 - `id: string`
2318 
from line 22
2722 
2823 RFC 3339 datetime string indicating when the API Key was created.
2924 
30 - `created_by: object { id, type } or null`
25 format: date-time
3126 
27 - `created_by: object or null`
28 
3229 The ID and type of the actor that created the API key, or `null` when the
3330 creator is not recorded (legacy, workload-identity-federated, or
3431 system-created keys).
from line 42
4542 
4643 RFC 3339 datetime string indicating when the API Key expires, or `null` if it never expires.
4744 
45 format: date-time
46 
4847 - `name: string`
4948 
5049 Name of the API key.
from line 52
5352 
5453 Partially redacted hint for the API key.
5554 
56 - `principal: object { id, type } or null`
55 - `principal: object or null`
5756 
5857 The ID and type of the principal the API key acts as, or `null` if the key is not bound to a principal.
5958 
from line 86
8786 
8887 For API Keys, this is always `"api_key"`.
8988 
90 - `"api_key"`
89 default: api_key
9190 
9291 - `workspace_id: string or null`
9392 
9493 ID of the Workspace associated with the API key, or `null` if the API key belongs to the default Workspace.
9594 
96### Example
95## Example
9796 
98```http
97```bash
9998curl https://api.anthropic.com/v1/organizations/api_keys/$API_KEY_ID \
10099 -H 'anthropic-version: 2023-06-01' \
101100 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
102101```
103102 
104#### Response
103### Response (200)
105104 
106105```json
107106{
Feedback