Skip to main content
APIAny.AI public endpoints use API keys. Send your API key as a Bearer token:

Security model

API keys are project credentials. Treat them like passwords:
  • Do not expose secret API keys in browser-side code.
  • Store keys in a server-side secret manager or environment variable.
  • Rotate keys if they are leaked.
  • Use separate keys for development, staging, and production.

Example

Errors

Authentication errors use the platform error format: