Persistent 404 Not Found for v1/organization/admin_api_keys
OpenAI Developer Community
April 30, 2026
I get a 500 error.
Repro in Python (warning: prints the environment variable admin API key for confirmation):
import os
import httpx
url = "https://api.openai.com/v1/organization/admin_api_keys"
headers = {
"Authorization": f"Bearer {os.environ['OPENAI_ADMIN_KEY']}",
}
print(headers)
payload = {
"name": "testkey",
}
response = httpx.post(url, headers=headers, json=payload)
print(response.status_code)
print(response.text)
print("request-id:", response.headers.get("x-request-id"))
Result
500
{
"error": {
"message": "The server had an error while processing your request. Sorry about that!",
"type": "server_error",
"param": null,
"code": null
}
}
request-id: ec0e3b9e-3f16-4155-b2de-16840421ea25
request-id: 82de595d-beba-4881-b6bb-8bab5522490c
If not sending “name”, you get a 400 error about the missing parameter as body message, so it is alive.
Admin keys making admin keys does seem a strange delegation, though. Perhaps this is reserved for enterprise partners with another superuser? Audit logging might be another dependency.
Discussion in the ATmosphere