X-API-Key header.
Getting an API key
API keys are minted by your organization administrator through the NDI console or viaPOST /v1/clients (admin-only). Once minted, a key is shown exactly
once. Store it securely.
Using the key
Include it in every request. The SDKs read$NDI_API_KEY (and optional $NDI_BASE_URL) so a configured environment needs no extra headers.
Key scope
An API key carries:- Organization — which organization owns the key.
- Visibility — which access labels the key can see (determines what files are visible in queries and tools).
- Storage mode — managed (NDI-hosted) or bring-your-own bucket.
Security
- Never commit keys to version control.
- Rotate keys periodically.
- Revoke keys that are exposed or no longer needed.
- Treat API keys as secrets — they grant full access to your organization’s data.
Errors
401 unauthorized— API key missing, invalid, or revoked.403 access_denied— Key does not have permission for the requested operation.