Authentication
All API requests require authentication using an API key. Include your API key in the Authorization header:
Authorization: Bearer sk_live_your_api_key_hereGetting Your API Key
Log in to your Saber account at ai.saber.app
Navigate to Settings → API Keys
Click Create API Key and provide a name
Copy the key immediately - it will only be shown once
Store the key securely (environment variable, secret manager, or vault)
Security Best Practices
Do:
Store keys securely using environment variables or secret managers
Use different API keys for different environments (staging, production)
Monitor API usage logs regularly
Rotate keys periodically
Don't:
Hardcode API keys in your source code
Share API keys in public repositories or documentation
Use the same API key across multiple external systems
Commit API keys to version control
Last updated