Skip to main content
Every Developer API request must include a cb_live_ token in the Authorization header:
Tokens are issued from the panel — see API tokens for the UI flow.

Token format

The prefix lets you spot tokens at a glance in logs and secret scanners. There is no cb_test_ prefix today — use a dedicated organization for staging if you need isolation.

Errors

Stable identity per token

The Developer API derives a stable user identity from each token, so audit logs group queries together per token. To track multiple end-users separately, issue one token per end-user (recommended for partner integrations) — see API tokens → pass-through prefix.

Rotating

POST /tokens/{id}/regenerate from the panel issues a new secret and invalidates the old one immediately. Old requests in flight return 401. There is no overlap window.

Storing

Treat cb_live_ tokens like database passwords:
  • Environment variables on the host, not config files in git.
  • Secret manager in production (AWS Secrets Manager, HashiCorp Vault, etc).
  • Restrict access to deploy users only.

Permissions reference

Most tokens only need mcp_query. Toggle the rest off to enforce least privilege.

Rate limits

Each token carries per_minute / daily / monthly request limits (set when you create it, defaults 60 / 1000 / 10000). They apply across all /api/v1/* endpoints. When a limit is hit the API returns:
Honor the Retry-After header (seconds) and retry with exponential backoff. Rejected requests don’t count against the bucket.