All Gateway requests require a bearer API key. Create and manage keys in the AI Stats dashboard.Documentation Index
Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt
Use this file to discover all available pages before exploring further.
Calls to
:free models can run with zero deposited credits. Paid-model calls require available wallet balance.Using an API key
Include your API key in theAuthorization header using the Bearer scheme:
Key format and handling
- Key format:
aistats_v1_sk_<kid>_<secret> - Store keys in a secrets manager, not in browser code.
- Use separate keys per app/environment for safer rotation.
Management keys
Management API keys are created and managed in the AI Stats dashboard, not through the public API. Use them for elevated administration endpoints such as Credits and Activity, and for future control-plane APIs like guardrails, key management, and workspace management.Authentication failures
401: Missing, malformed, or invalid API key.403: Key is valid but cannot access the requested capability.