> ## 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_api_key

> Invalid API key (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

The key is unknown, revoked, expired, or of the wrong kind for an inference endpoint (an Admin API key).

## What to do

Use an active project API key. Keys of an archived project are revoked.


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