Skip to main content

Overview

Scoped API keys let you create multiple keys with specific permissions for different use cases:
  • CI/CD Pipeline: incidents:write only — 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

  1. Navigate to Settings > API Keys
  2. Click Create Key
  3. Enter a descriptive name
  4. Select the permissions your key needs
  5. Optionally set an expiry date
  6. Click Create Key
  7. Copy the key immediately — it will only be shown once

Via API

The response includes the plaintext key (returned only once):

Managing Keys

List Keys

Disable a Key

Delete a Key

Plan Limits

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_at to identify unused keys
  • Disable before deleting: Disable a key first to verify nothing breaks before permanent removal