Authorization header. There are two distinct key types — each is accepted only in its correct context, and sending the wrong type returns a descriptive 401 error.
Key types
Management keys (sl_management_…)
Management keys are org-scoped credentials used to call the REST management API at /api/v1/*. A single management key can access every project in your org.
- Created in the Superlog dashboard (see steps below).
- Cannot be minted via the API itself — dashboard access is required.
- Shown in plaintext exactly once at creation time.
Ingest keys (sl_public_…)
Ingest keys are project-scoped credentials used to push OTLP telemetry to Superlog. They authenticate the standard OTLP endpoints:
POST /v1/tracesPOST /v1/logsPOST /v1/metrics
Ingest keys are not accepted on
/api/v1/* management endpoints (and vice-versa). If you accidentally send the wrong key type, the API returns 401 with the message wrong credential type.Getting a management key
1
Sign in to the Superlog dashboard
Open app.superlog.sh (or your self-hosted host) and sign in.
2
Open Settings → API Keys
In the left sidebar, navigate to Settings, then select the API Keys tab.
3
Create a new management key
Under Management Keys, click New Management Key. Give it a descriptive name — for example,
CI/CD provisioning or Terraform.4
Copy the key immediately
The dashboard displays the full key (
sl_management_…) only once. Copy it and store it in a secrets manager or environment variable right away.Using a management key in requests
Pass the key as a Bearer token in theAuthorization header on every request:
Personal Access Tokens (PATs) for the MCP server
If you are connecting an AI assistant via the Superlog MCP server, you need a Personal Access Token rather than a management key. PATs carry the prefixsuperlog_pat_…, are user-scoped, and are bound to a single project.
1
Open Settings → API Tokens
In the dashboard sidebar, go to Settings → API Tokens.
2
Mint a token
Click New Token, choose the target project, set an expiry (or choose Never), and give the token a name.
3
Copy and configure
Copy the token and add it to your MCP client configuration. Like management keys, PATs are shown in plaintext only once.