Billing
Set auto top-up
When the pool falls below threshold_minutes, the saved card is charged for amount_minutes. Turning it on needs a saved card (409 card_required). It turns itself off after a hard decline.
Scopes: billing:write
PUT
Set auto top-up
Authorizations
An API key from Settings → API keys, sent as Authorization: Bearer kb_live_…. A workspace key starts kb_; a personal key starts kbp_ and acts as its owner.
Headers
The API version to answer as, a date (YYYY-MM-DD). Leave it out for the current version (2026-11-07). An unknown version is refused with 400 unsupported_api_version.
Available options:
2026-11-07 Example:
"2026-11-07"
Body
application/json