Skip to main content
Send your API key as a bearer token on every API request except public health checks.

Keep keys server-side

API keys identify a workspace and should be treated like credentials. Do not ship them in mobile apps, browser clients, or public repositories. Route browser and mobile traffic through your own backend when calling NanoClip.

Scopes

API keys are workspace-scoped. Endpoints require the matching read or write scope for the resource being accessed.

Check a key

GET /v1/me describes the calling key: its workspace, granted scopes, live rate/upload limits, today’s usage, and — when credit billing is enabled — the wallet balance and pricing catalog. It needs only a valid key (no scope required), so use it to confirm a key works and to pre-flight scopes, limits, and balance before uploading.
billing.credit_balance_cents is null (not 0) when credit billing is disabled for the deployment; agent_context.balance_note explains it.

Common auth failures