Skip to main content

API keys

Blon API keys start with blon_api_. Create and revoke them in the developer console. A key belongs to a workspace that has the API platform turned on, and every request it makes is pinned to that workspace. Send the key as a Bearer token:
The x-api-key header is also accepted.
Keep keys on your server. Never ship them in a browser or mobile app, and never send them to an upload URL.

Dollars and credits

Every amount the API returns, including balance, estimates, job cost, usage and error details, uses the caller’s currency.

Scopes

The scopes you tick when creating a key decide which endpoints it can call. A key without the scope gets 403 insufficient_scope.

Errors

A missing, revoked or unknown key returns 401:
The blon CLI and MCP do not use API keys. They sign in with your Blon account; see CLI and MCP.