Skip to content

Authentication

OpenAI-compatible clients use a bearer token:

Authorization: Bearer sk-...

Anthropic-compatible clients may use:

x-api-key: sk-...
anthropic-version: 2023-06-01

Treat API keys as passwords. Put them in environment variables or a secret manager, rotate exposed keys, and remove keys before sharing logs with support or AI assistants.