Boole AI cloud API requests are authenticated with API keys passed in the Authorization header. Local binary deployments do not require authentication. Manage your keys at any time from the dashboard under Settings → API Keys.
Never commit API keys to source control. Use environment variables or a secrets manager.
Pass Your API Key
Include your API key as a Bearer token on every cloud API request:
Here is a complete example using curl:
SDKs
Because the Boole AI API is OpenAI-compatible, you can authenticate using the official OpenAI SDKs by pointing them at the Boole AI base URL.
Authentication Errors
Local Binary
No API key is required when you run the local binary. However, OpenAI SDKs require a non-empty string for api_key. Pass any placeholder value:
The local server accepts the header but does not validate it.
Key Management
Create, rotate, and revoke API keys from Settings → API Keys in the dashboard. See the API Keys page for instructions on scoping keys, setting expiry dates, and auditing usage.