Getting Your API Key
- Log in to the Adaline Dashboard
- Follow the steps to Create API Keys.
Using Your API Key
REST API
Include your API key in theAuthorization header as a Bearer token:
TypeScript SDK
The SDK reads from theADALINE_API_KEY environment variable by default:
Python SDK
Error Responses
If authentication fails, the API returns a401 Unauthorized response:
- Missing
Authorizationheader - Malformed token (missing
Bearerprefix) - Expired or revoked API key
- Key does not have permission for the requested resource