API Keys
API keys authenticate your application’s log ingestion requests to LogClaw Cloud. Each key is scoped to a project and automatically associates incoming logs with the correct tenant.Getting Your API Key
Sign in to LogClaw Console
Go to console.logclaw.ai and sign in with your account. If you don’t have an account yet, click Sign Up to create one.
Create or select a project
From the dashboard, create a new project or select an existing one. Each project has its own isolated log pipeline and API keys.
API keys are shown only once at creation time. Store your key securely before closing the dialog.
Using Your API Key
Add thex-logclaw-api-key header to all ingestion requests:
Environment Variables
We recommend storing your API key in an environment variable:Tenant ID Auto-Injection
This means your application code stays clean — just send standard OTLP logs and LogClaw handles multi-tenant isolation for you.Security Best Practices
Use environment variables
Never hardcode API keys in source code. Use environment variables or a secret manager (AWS Secrets Manager, GCP Secret Manager, HashiCorp Vault).
Rotate regularly
Create new keys and revoke old ones periodically. You can have multiple active keys per project to enable zero-downtime rotation.
Least privilege
Create separate API keys for each environment (staging, production) and each service to limit blast radius.
Revoke compromised keys
If a key is exposed, revoke it immediately from Settings → API Keys. A new key can be created in seconds.
Revoking API Keys
- Go to your project in console.logclaw.ai
- Navigate to Settings → API Keys
- Find the key you want to revoke and click Revoke
- The key stops working immediately — any requests using it will receive a
401 Unauthorizedresponse
Revoking a key is irreversible. Create a new key before revoking the old one if you need uninterrupted log ingestion.