Skip to content
Auto
English

API key authentication

Send the Relyven key as a bearer token:

Authorization: Bearer sk-...

The same header is used for Responses, Chat Completions, Models, image, video, and audio endpoints.

Send the key with the Anthropic version header:

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

Claude Code can read the key from ANTHROPIC_AUTH_TOKEN. See the direct Claude Code setup for the complete environment configuration.

Treat API keys as passwords. Put them in environment variables or a secret manager. Do not commit keys, add them to screenshots, or paste them into shared prompts. Rotate a key after exposure and remove it before sending logs to support.

Use GET https://api.relyven.com/v1/models to verify the key and view its current model scope.