Skip to content

API Keys

API keys (Pro) provide bearer authentication for automation and integrations.

API keys are designed for programmatic access:

  • CI/CD suite triggers and gating
  • external automation scripts
  • internal tooling that reads run results

Do not use personal session tokens in CI pipelines.

Creating a key takes a few seconds in the dashboard.

  1. Open API Keys (/settings/api-keys).
  2. Click Create API Key .
  3. Name the key by workload (ci-main-deploy, nightly-regression).
  4. Select scopes.
  5. Copy the secret once and store securely.

Give each key only the permissions it needs. This limits blast radius if a key is compromised.

  • read-only keys for reporting jobs
  • run-trigger keys for CI gates
  • separate keys per environment/repo

Rotate keys periodically and immediately if you suspect exposure.

Use the Regenerate action to issue a new token for the same key, preserving its name and scopes. The old token is invalidated immediately.

  1. Regenerate the key (dashboard or API).
  2. Update the secret in CI/system.
  3. Run a test workflow to confirm.

Quick audit checklist for your API key hygiene.

  • never commit keys to Git
  • store keys in secret manager only
  • rotate regularly
  • revoke keys on team member offboarding or integration decommission
  • runs:write and runs:read: CI gate job triggering and verdict checks
  • suites:read: pipeline job validating suite existence before trigger
  • read-only monitoring integration: runs:read only

If your automation suddenly gets auth errors, here is what to check.

  1. verify key is active and not revoked
  2. check required scopes for called endpoint
  3. confirm key belongs to correct tenant/workspace
  4. rotate key if secret leakage is suspected