Retrieve admin API key
Retrieve a single organization API key
Path parameters
The ID of the API key.
Response
Details of the requested API key.
Example response
{
"id": "key_abc",
"name": "Administration Key",
"redacted_value": "sk-admin...def",
"created_at": 1711471533,
"expires_at": 1714063533,
"last_used_at": 1711471534,
"owner": {
"type": "user",
"object": "organization.user",
"id": "sa_456",
"name": "My Service Account",
"created_at": 1711471533,
"role": "owner"
}
}Changes
Changed in 9 of the 163 revisions of this API.6220
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
added the required property
to the response with the statusresponse-required-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
response property
last_used_atlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
namelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
the
response's property format changed fromint64tounixtimefor statusresponse-property-type-changed
- ▲
the
/response's property format changed fromint64tounixtimefor statusresponse-property-type-changed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ●
added the new
organization.admin_api_keyenum value to theresponse property for the response statusresponse-property-enum-value-added
- ○
the endpoint scheme security
AdminApiKeyAuthwas added to the APIapi-security-added
This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
the response property
became required for the statusresponse-property-became-required
- ○
the response property
became required for the statusresponse-property-became-required
- ○
the response property
became required for the statusresponse-property-became-required
- ○
the response property
became required for the statusresponse-property-became-required
- ○
the response property
became required for the statusresponse-property-became-required
- ○
the response property
became required for the statusresponse-property-became-required
- ○
added the required property
to the response with the statusresponse-required-property-added
This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
the endpoint scheme security
basic_identity_edgewas removed from the APIapi-security-removed
- ○
the endpoint scheme security
bearer_identity_edgewas removed from the APIapi-security-removed
- ○
- ○
the endpoint scheme security
basic_identity_edgewas added to the APIapi-security-added
- ○
the endpoint scheme security
bearer_identity_edgewas added to the APIapi-security-added
- ○
- ○
the endpoint scheme security
basic_identity_edgewas removed from the APIapi-security-removed
- ○
the endpoint scheme security
bearer_identity_edgewas removed from the APIapi-security-removed
- ○
- ○
added the optional property
to the response with the statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
- ○