All Nusomi requests are authenticated with an API key passed in theDocumentation Index
Fetch the complete documentation index at: https://docs.nusomi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header.
API key formats
| Prefix | Environment | Notes |
|---|---|---|
nsk_live_… | Production | Real captures and exports. Bill against your account. |
nsk_test_… | Test mode | No data persisted past 7 days. Free. |
nsk_local_… | Self-hosted | Issued by your own deployment. Never leaves your VPC. |
Setting the key
Never commit API keys to source control. Use
.env files locally, your secret manager (Vault, AWS Secrets Manager, GitHub Actions secrets) in CI.Rotating a key
- Issue a new key in the dashboard (Workspace → API keys → New key).
- Roll the new key into your environment.
- Revoke the old key once traffic has shifted.
Scopes
API keys carry one of three scopes:| Scope | Can do | Cannot do |
|---|---|---|
read | Query sessions, events, exports | Create or modify recordings |
write | Everything read can + create / start / stop sessions | Manage webhooks, billing, members |
admin | Everything write can + manage webhooks, billing, members | — |
write. Reduce to read for analytics dashboards or third-party integrations that only consume data.