GET
/organization/projects/{project_id}/api_keys/{key_id}
curl \
--request GET 'https://api.openai.com/v1/organization/projects/{project_id}/api_keys/{key_id}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"object": "organization.project.api_key",
"redacted_value": "string",
"name": "string",
"created_at": 42,
"id": "string",
"owner": {
"type": "user",
"user": {
"object": "organization.project.user",
"id": "string",
"name": "string",
"email": "string",
"role": "owner",
"added_at": 42
},
"service_account": {
"object": "organization.project.service_account",
"id": "string",
"name": "string",
"role": "owner",
"created_at": 42
}
}
}