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

# Autenticación

> Autentica solicitudes de la API OmniaKey en protocolos OpenAI, Anthropic y Gemini.

Crea keys en el [panel de API Keys](https://omniakey.com/dashboard/tokens). La forma universal es:

```bash theme={null}
Authorization: Bearer your-omniakey-api-key
```

| SDK o protocolo | Forma de autenticación                           |
| --------------- | ------------------------------------------------ |
| OpenAI SDK      | `api_key` / `Authorization: Bearer`              |
| Anthropic SDK   | `api_key` / `x-api-key`                          |
| Gemini SDK      | `api_key` / `x-goog-api-key` / parámetro `?key=` |

Para integraciones personalizadas, prefiere `Authorization: Bearer`.

| Estado | Significado                        | Solución                          |
| ------ | ---------------------------------- | --------------------------------- |
| `401`  | Key ausente, inactiva o inválida   | Crea o rota la key                |
| `403`  | Saldo o límite de key insuficiente | Aumenta el límite o recarga saldo |
