- Personal API tokens (PATs) — scoped tokens tied to your user account. Use them for personal scripts, local development, and tooling that acts on your behalf.
- Service accounts — workspace-level principals with their own identity and tokens. Use them for CI/CD pipelines, backend integrations, and any process that should not be tied to a specific person.
To learn how to authenticate API requests with a token, see API Reference → Authentication.
Personal API tokens
Create a token
Give the token a name
Choose a descriptive name (e.g.
local-dev, grafana-integration). Names must be unique within your account.Select scopes
Check the scopes the token should have. Only grant scopes the integration actually needs.
Set an expiry (optional)
Tokens are long-lived by default. Set an expiry date if the token is for a short-lived use.
Rotate a token
Click Rotate on any token row. Causeloop issues a new secret and immediately invalidates the old one. Copy the new secret from the dialog before closing it.Revoke a token
Click Revoke on a token row. The token is invalidated immediately and all subsequent requests using it return401 unauthorized. Revoked tokens cannot be re-activated; create a new token if you need access again.
Available scopes
Use the minimum scopes necessary for the integration. You can retrieve the current scope catalogue fromGET /v1/api-tokens/scopes.
- Data
- Integrations
- Workspace
- AI & Reports
- Admin
| Scope | Description |
|---|---|
issues:read | Read issues and their analysis |
issues:write | Create and update issues |
patterns:read | Read patterns |
patterns:write | Write patterns |
predictions:read | Read predictions |
predictions:write | Write predictions |
recommendations:read | Read recommendations |
recommendations:write | Write recommendations |
Service accounts
Service accounts are workspace-level machine principals. Unlike personal tokens, they are not tied to any user and remain active even if the user who created them leaves the workspace. Creating and managing service accounts requires theworkspace:admin scope (Tenant Admin role).
Create a service account
Issue a token for a service account
Once the service account is created, click Issue token on its row.- Give the token a name.
- The token secret is shown once. Copy it immediately.
- Tokens are associated with the service account’s scopes at issuance time. Changing the service account’s scopes does not update already-issued tokens.
Revoke a service account token
Click Revoke on an individual token entry under the service account. The token is invalidated immediately.Delete a service account
Click Delete on a service account row. All tokens associated with the account are revoked immediately.API endpoints
| Method | Path | Description |
|---|---|---|
GET | /v1/api-tokens | List personal API tokens |
POST | /v1/api-tokens | Create a personal API token |
POST | /v1/api-tokens/{id}/roll | Rotate a token secret |
DELETE | /v1/api-tokens/{id} | Revoke a token |
GET | /v1/api-tokens/scopes | List all available scopes |
GET | /v1/service-accounts | List service accounts |
POST | /v1/service-accounts | Create a service account |
DELETE | /v1/service-accounts/{id} | Delete a service account |
POST | /v1/service-accounts/{id}/tokens | Issue a service account token |
DELETE | /v1/service-accounts/{id}/tokens/{tok_id} | Revoke a service account token |