Authentication Method
CodeAlive uses Bearer token authentication in theAuthorization header for all API calls:
Obtaining Your API Key
API keys become available after you add at least one repository to your organization. You do not need to wait for indexing to finish to create the key.
Create Account
Sign up at app.codealive.ai if you haven’t already
Security Best Practices
Environment Variables
Store your API key in environment variables:Key Rotation
We recommend rotating your API keys periodically:
- Every 90 days for production environments
- Immediately if a key is compromised
- When team members leave your organization
Rate Limiting
API keys are subject to rate limits based on your plan:| Plan | Requests/Hour | Concurrent Requests |
|---|---|---|
| Free | 100 | 5 |
| Pro | 1,000 | 20 |
| Team | 5,000 | 50 |
| Enterprise | Custom | Custom |
Error Responses
Authentication failures return appropriate HTTP status codes:401 Unauthorized
Missing or invalid API key:403 Forbidden
Valid key but insufficient permissions:429 Too Many Requests
Rate limit exceeded:Testing Authentication
Test your API key with this simple request:Support
Having authentication issues? Contact us:- Email: support@codealive.ai
- Documentation: GitHub Issues