Skip to main content
API keys let you access the Kazzle API programmatically - from scripts, CI pipelines, or external tools.

Creating an API key

Go to Settings > API keys and click Create key. Give it a name and copy the key immediately - it won’t be shown again.

Using the key

Pass the API key in the Authorization header:
Authorization: Bearer kzl_your_api_key_here
Or set it as the KAZZLE_API_KEY environment variable for the Kazzle CLI:
export KAZZLE_API_KEY=kzl_your_api_key_here
kazzle secrets list --collection=my-app

Scope

API keys are scoped to the space they were created in. They have the same permissions as the user who created them.

Revoking

Delete an API key from Settings > API keys at any time. Revocation is immediate - any request using the key will fail.

See also

  • AI API - universal chat, image, speech, transcription, and video endpoints
  • API Reference - full endpoint documentation
  • Vault - managing secrets and credentials