Retrieve an API key
Retrieves the metadata for an existing API key by its unique identifier. The raw secret is never returned — only token_prefix, permission_mode, project_scope, and lifecycle fields.
Path parameters
API key id to retrieve (e.g. 01H...).
Query parameters
When true, embed the api-key-scoped budget (config and limits only, no live usage) on the returned record.
Response
API key retrieved successfully.
Changes
Changed in 16 of the 253 revisions of this API.710
- ●
removed the optional property
api_key/allOf[ApiKey]/mcp_accessfrom the response with the200statusresponse-optional-property-removed
This revision also has 97 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
api_key/allOf[ApiKey]/mcp_accessto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
api_key/allOf[ApiKey]/mcp_accessfrom the response with the200statusresponse-optional-property-removed
This revision also has 95 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
api_key/allOf[ApiKey]/mcp_accessto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
api_key/allOf[ApiKey]/mcp_accessfrom the response with the200statusresponse-optional-property-removed
This revision also has 158 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
api_key/allOf[ApiKey]/mcp_accessto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
api_key/allOf[ApiKey]/mcp_accessfrom the response with the200statusresponse-optional-property-removed
This revision also has 158 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
api_key/allOf[ApiKey]/mcp_accessto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
api_key/allOf[ApiKey]/mcp_accessfrom the response with the200statusresponse-optional-property-removed
This revision also has 156 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
api_key/allOf[ApiKey]/mcp_accessto the response with the200statusresponse-optional-property-added
- ○
Of the 253 revisions, 71 have no diff computed.