| Method | Use Case |
|---|---|
| API Keys | SDK, CLI, CI/CD pipelines, programmatic access |
| OAuth 2.1 | MCP server connections from AI tools (Claude Code, Cursor) |
API Key Format
API keys use the formataa_live_<random>:
Creating API Keys
Via Dashboard
- Go to Settings > API Keys
- Click Create API Key
- Enter a descriptive name (e.g., “Airflow Production”)
- Select scope based on needs:
read-onlyfor monitoring,read-writefor triggering actions,adminfor key management - Click Create Key
- Copy the key immediately
Via CLI
Via API
Scopes
| Scope | Capabilities |
|---|---|
read-only | GET endpoints only. Read assets, freshness, lineage, alerts. |
read-write | GET + POST. Trigger freshness/schema refreshes. |
admin | Full access including API key management. |
Scope Examples
read-only: Airflow pre-flight check
read-only: Airflow pre-flight check
Check if data is fresh before running pipelines. No ability to modify anything.
read-write: Trigger refresh after dbt run
read-write: Trigger refresh after dbt run
Check freshness and trigger a refresh when needed.
admin: Key rotation automation
admin: Key rotation automation
Create and revoke keys programmatically for security compliance.
Using API Keys
Environment Variable (Recommended)
Direct Parameter
HTTP Header
For direct API calls:Rate Limits by Tier
Rate limits are set when you create the API key based on your subscription:| Tier | Max Keys | Rate Limit | Burst |
|---|---|---|---|
| Free Trial | 1 | 20/min | 2/sec |
| Starter | 1 | 30/min | 3/sec |
| Growth | 10 | 500/min | 25/sec |
| Professional | 25 | 1,000/min | 50/sec |
| Enterprise | Unlimited | 5,000/min | 100/sec |
When you upgrade your plan, existing API keys automatically get the new rate limits.
Revoking Keys
Revoke compromised or unused keys immediately:Via Dashboard
- Go to Settings > API Keys
- Find the key and click the trash icon
- Confirm revocation
Via CLI
Via API
Security Best Practices
Use Environment Variables
Never hardcode API keys in source code. Use environment variables or secrets managers.
Rotate Regularly
Rotate keys periodically, especially for production systems.
Least Privilege
Use the minimum scope required. Most integrations only need
read-only.Separate Keys
Use different keys for different environments (dev, staging, prod).
Troubleshooting
401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
- The key is valid but lacks permission for this operation
- Check the scope - you may need
read-writeoradmin
429 Rate Limited
429 Rate Limited
- You’ve exceeded your rate limit
- Check
Retry-Afterheader for when to retry - Consider upgrading your plan for higher limits
