Key types
Personal Access Tokens (PATs) used by the MCP server are separate from both key types. Manage them under Settings → API Tokens. They are not interchangeable with ingest or management keys.
Creating an ingest key
You can create an ingest key from the dashboard or programmatically via the management API.1
Open the project settings
Navigate to Settings → API Keys inside the project that will receive telemetry.
2
Mint the key
Click New Key, give it a descriptive name (e.g.
production-orders-service), then click Create.3
Copy the plaintext immediately
Superlog shows the full key value only once. Copy it to your secrets manager before closing the dialog — it cannot be retrieved afterwards.
plaintext — the full key shown once — along with a stable key_prefix you can display safely later.
Using an ingest key
Add the key as aBearer token in the Authorization header when sending OTLP data to the ingest proxy. The following endpoints accept ingest key authentication:
OTEL_EXPORTER_OTLP_HEADERS environment variable:
Revoking a key
1
Open the project settings
Navigate to Settings → API Keys for the project.
2
Revoke
Find the key by its prefix or name and click Revoke. Revocation is immediate — requests using the key will receive a
401 from that point on.Ingest key revocation is not available through the management API. Use the dashboard steps above to revoke a key.
Rotating a key safely
Zero-downtime rotation takes three steps:1
Create the replacement key
Mint a new ingest key following the steps above. Keep both keys active.
2
Update your instrumentation
Deploy the new key value to all services and verify telemetry is arriving in the Superlog dashboard.
3
Revoke the old key
Once all traffic is confirmed on the new key, revoke the old one. Revoking before updating instrumentation will break your pipeline.
Listing keys
To see all active keys for a project:id, name, key_prefix, last_used_at, revoked_at, and created_at. The key_prefix (e.g. sl_live_ab12...) is safe to display and log — it uniquely identifies the key without exposing the secret.
Management key authentication
Management keys (sl_management_...) are org-scoped and authorize calls to the /api/v1/* management REST API. You create them from Settings → API Keys at the org level, not inside a project. For authentication details and the full list of management API endpoints, see the Authentication reference.