All guides▾
MeteringUsage events8 min
PricingPlans & models10 min
AutomationAgent playbooks15 min
API referenceAPI overview5 min
Getting started · 3 min
Authentication
Every API request carries a bearer token. Keys are scoped per environment and rotate without downtime.
Every API request carries a bearer token. Keys are scoped per environment and rotate without downtime.
Bearer tokens
Pass your key in the Authorization header on every request.
Authorization: Bearer kb_live_51Hxxxxxxxx
Environments
kb_test_keys write to a sandboxed ledger with fake payments — safe for CI.kb_live_keys bill real money.
Test and live data never mix.
Rotation & scoping
Generate a second key, deploy it, then revoke the first — both stay valid during the overlap. Keys can be restricted to event ingestion only, so the credential in your product's hot path can't read customer data.