Overview
Scoped API keys let you create multiple keys with specific permissions for different use cases:- CI/CD Pipeline:
incidents:writeonly — can create incidents but can’t read services - Dashboard Widget:
incidents:read,services:read— read-only access for displays - Monitoring Agent:
heartbeat:write,metrics:write— can send data but can’t modify anything
Creating a Key
Via Dashboard
- Navigate to Settings > API Keys
- Click Create Key
- Enter a descriptive name
- Select the permissions your key needs
- Optionally set an expiry date
- Click Create Key
- Copy the key immediately — it will only be shown once
Via API
Managing Keys
List Keys
Disable a Key
Delete a Key
Plan Limits
| Plan | Max Keys |
|---|---|
| Starter | Legacy key only |
| Pro | 5 scoped keys |
| Team | 25 scoped keys |
| Enterprise | Unlimited |
Best Practices
- Principle of least privilege: Give each key only the scopes it needs
- Set expiry dates: Rotate keys regularly, especially for CI/CD
- Use descriptive names: Name keys after their purpose (e.g., “GitHub Actions Deploy”)
- Monitor usage: Check
last_used_atto identify unused keys - Disable before deleting: Disable a key first to verify nothing breaks before permanent removal