API Key Authentication
All/v1/* API requests require an AtlasFlux API key in the Authorization header.
Header format
Key types
Creating an API key
- Go to Dashboard → API Keys
- Click Create API key
- Choose environment (test or live)
- Copy the key immediately — it will not be shown again
Storing your key
Always store your API key as an environment variable. Never hardcode it in source code or expose it in browser/client-side code.Key rotation
If your key is compromised:- Go to Dashboard → API Keys
- Delete or revoke the compromised key
- Create a new key
- Update your application with the new key
Revoked or invalid keys
Requests with revoked, expired, or invalid keys receive a401 Unauthorized response:
Rate limits
API keys have rate limits based on environment:
Rate limit headers are included in every response:
x-ratelimit-limit— Maximum requests per windowx-ratelimit-remaining— Remaining requestsx-ratelimit-reset— Unix timestamp when the window resets