OwlpaneDOCS
Administration & Account

API Tokens

API tokens are scoped, workspace-level credentials for calling the Owlpane API on api.owlpane.com — for CI jobs, scripts, and internal tools. They are different from ingest keys:

CredentialPrefixPurpose
API token (personal access token)owl_pat_Call the Owlpane API for automation.
Ingest keyowl_ing_Send telemetry to one project (write-only).

Manage API tokens under Settings → API tokens (/settings/api-tokens). Owners and admins can create and revoke them.

Creating a token

  1. Open Settings → API tokens.
  2. Choose New token, give it a name (for example CI nightly checks), and select the scopes your automation needs.
  3. Copy the token immediately. It is shown once at creation — Owlpane stores only a hash, so a lost token cannot be recovered, only replaced.

Use the token as a bearer credential:

curl -H "Authorization: Bearer owl_pat_..." \
  https://api.owlpane.com/v1/orgs/<orgId>/api-tokens

Scopes

Tokens carry a set of scopes; grant only what each automation needs:

ScopeGrants
observability:readRead observability data
observability:writeWrite observability data
alerts:readRead alerts and channels
alerts:writeManage alerts and channels
dashboards:readRead dashboards
dashboards:writeManage dashboards
members:readRead workspace members
members:writeManage workspace members

Limits

A workspace can have at most 10 active API tokens at a time. Revoke tokens you no longer use to stay within the limit.

Managing tokens

The token list shows each token's name, prefix, scopes, and last-used time. Revoke a token to invalidate it immediately.

OperationEndpoint
List tokensGET /v1/orgs/:orgId/api-tokens
Create a tokenPOST /v1/orgs/:orgId/api-tokens
Revoke a tokenDELETE /v1/orgs/:orgId/api-tokens/:tokenId

Rotating a token

There is no rotate-in-place for credentials. To rotate, create a new token, move your automation to it, verify it works, then revoke the old token. The same principle applies to ingest keys — see Projects & Keys.

Scope examples

Grant the smallest set that lets the automation work:

AutomationSuggested scopes
Read-only reporting scriptobservability:read
CI job that annotates dashboardsobservability:read, dashboards:write
Tool that creates and updates alert rulesalerts:read, alerts:write
Internal admin toolingAdd members:read / members:write only if it truly needs them

Security

  • Store tokens in a secrets manager. Treat a token like a password; anyone who holds it can act with its scopes.
  • Tokens are shown once. Owlpane stores only a hash, so a token cannot be displayed again after creation.
  • Revoke promptly. A revoked token is rejected immediately; revoke any token you no longer use to stay within the 10-active-token limit.
  • Prefer scoped tokens over shared ones. Issue one token per automation so you can revoke access narrowly.

Last updated

On this page