Skip to main content
Boole AI uses API keys to authenticate every request to the cloud API. Each request must include a valid API key in the Authorization header. You can create multiple keys per account — useful for separating environments or teams — and revoke individual keys at any time without affecting the others.

Getting Your API Key

1

Sign in to your account

Go to booleinference.com and sign in.
2

Open API Keys settings

Navigate to Settings → API Keys.
3

Create a new key

Click Create new key and give it a descriptive name (for example, production-backend or dev-local).
4

Copy the key immediately

Copy the key and store it somewhere safe. It is shown only once — if you lose it, you must revoke it and create a new one.

Using Your API Key

Pass your API key in the Authorization header on every request:
Store the key in an environment variable rather than hard-coding it in your source files:
Then read it from your application at runtime:
app.py

Key Security

Follow these practices to keep your API keys secure:
  • Use environment variables or a secrets manager — never commit keys to source control or paste them into configuration files that get checked in.
  • Create a separate key per environment — maintain distinct keys for development, staging, and production so you can rotate or revoke one without impacting the others.
  • Rotate keys regularly — create the new key first, update your application to use it, then revoke the old key so you avoid any downtime.
  • Revoke compromised keys immediately — use the dashboard to invalidate a key the moment you suspect it has been exposed.
If you suspect a key has been compromised, revoke it immediately from Settings → API Keys and generate a replacement. For urgent security issues, contact security@boole.ai.

Multiple Keys

Your account supports up to 10 API keys at a time. Use multiple keys to isolate access by environment, service, or team member. Each key can be revoked independently, so a leak in one environment never forces you to rotate credentials everywhere.
Name your keys clearly — for example, ci-pipeline, mobile-app-prod, or data-pipeline — so you can identify which key belongs to which system at a glance.

Revoking a Key

1

Open API Keys settings

Go to Settings → API Keys.
2

Revoke the key

Click Revoke next to the key you want to remove.
3

Confirm revocation

Confirm the action. The key stops working immediately — any in-flight requests using it will fail.
API keys are only required for the cloud API. The local binary runs entirely on your own hardware and does not require any authentication.