GET
/
organization
/
admin_api_keys
/
{key_id}
curl --request GET \
  --url https://api.openai.com/v1/organization/admin_api_keys/{key_id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "organization.admin_api_key",
  "id": "key_abc",
  "name": "Administration Key",
  "redacted_value": "sk-admin...def",
  "value": "sk-admin-1234abcd",
  "created_at": 1711471533,
  "owner": {
    "type": "service_account",
    "id": "sa_456",
    "name": "My Service Account",
    "created_at": 1711471533,
    "role": "member"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

key_id
string
required

The ID of the API key.

Response

200 - application/json

Details of the requested API key.

The response is of type object.