> ## Documentation Index
> Fetch the complete documentation index at: https://docs.antarah.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# invalid_admin_credential

> Invalid admin credential (HTTP 401)

| | |
| - | - |
| HTTP status | `401` |
| OpenAI `type` | `authentication_error` |
| Anthropic `type` | `authentication_error` |
| Retry | No. Error responses carry `x-should-retry: false`. |

## What it means

A management endpoint got a project API key, or a key that isn't valid.

## What to do

Use an Admin API key (`ak_admin_…`) for the Policy and Admin APIs.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.