GET
/organization/admin_api_keys/{key_id}Retrieve an organization admin API key
Retrieves details for an organization API key. Use key_id to identify the key whose metadata you need. The response includes the redacted key value, creation and expiration timestamps, last-use time, and owner details.
key_idstringrequired
The identifier of the API key to retrieve.
200Returns the API key's identifier, name, redacted value, creation timestamp, expiration and last-use timestamps, and owner details.
objectstringrequired
The object type, which is always `organization.admin_api_key`
idstringrequired
The identifier, which can be referenced in API endpoints
namestringoptional
The name of the API key
redacted_valuestringrequired
The redacted value of the API key
created_atintegerrequired
The Unix timestamp (in seconds) of when the API key was created
expires_atintegerrequired
The Unix timestamp (in seconds) of when the API key expires
last_used_atintegeroptional
The Unix timestamp (in seconds) of when the API key was last used
ownerobjectrequired
403Returned when the caller does not have permission to perform this operation.
errorobjectrequired
Details about the permission error.
404Returned when the API key is not found or is not available to the organization.
errorobjectrequired
Error handling
A 403 is returned when the caller does not have permission to retrieve the API key. A 404 is returned when the key is not found or is unavailable to the organization. The key_id path parameter must identify an API key available to the organization.