Vijil uses API keys to authenticate requests. You’ll need one key for local development, and potentially separate keys for CI/CD pipelines with different permission scopes.Documentation Index
Fetch the complete documentation index at: https://docs.vijil.ai/llms.txt
Use this file to discover all available pages before exploring further.
Getting an API Key
Log In
Go to console.vijil.ai and log in
Using the API Key
Environment Variable (Recommended)
Direct Initialization
Configuration File
Create~/.vijil/config.yaml:
Key Permissions
API keys inherit team permissions:| Scope | Capabilities |
|---|---|
| Full Access | All operations |
| Read Only | View only |
| Evaluations | Run evaluations only |
Key Rotation
Rotate keys regularly:- Create new key
- Update your applications
- Revoke old key
Security Best Practices
- Use environment variables - Not hardcoded values
- Rotate regularly - Every 90 days recommended
- Limit scope - Use minimal permissions needed
- Monitor usage - Check for unauthorized access
- Revoke unused keys - Clean up old keys
Troubleshooting
”Invalid API Key”
- Verify the key is correct
- Check for extra whitespace
- Ensure the key hasn’t been revoked
”Insufficient Permissions”
- Check key scope matches operation
- Verify team membership
- Contact admin for access