跳到主要内容Skip to content
Docs

Authentication

How to authenticate requests with API keys.

API key headers

Every API request must include an API key. Use the standard Bearer scheme, or send x-api-key for Anthropic-compatible clients.

http
1Authorization: Bearer <YOUR_API_KEY>2x-api-key: <YOUR_API_KEY>

Safety tips

  • Do not ship keys to the browser or mobile apps.
  • Use one key per environment (dev/staging/prod).
  • Rotate keys if they were exposed.