Pre-release. HareBox is a working local build with no public service yet. Statuses on every feature say what runs today; speed and reliability figures are targets until measured. Status

Create a hard or soft dollar budget

POST /v1/budgets

In this build: Real.

Scope: billing.write

CLI: harebox budget new

Send an Idempotency-Key header. A retry with the same key never repeats the action.

Request: BudgetInput

Field Type Notes
limit_usd (required) number
scope string account, project:ID, fleet:ID or label:KEY=VALUE.
period string One of: day, week, month
include_ai boolean
action string sleep and stop both save the disk and stop what the budget covers, since a sleeping sandbox is still billed; sleep is kept for older clients. One of: alert, sleep, stop, block_new_starts
alert_at_percent array

Response: 201

Budget

Budget

Errors follow one format.

View as Markdownllms.txt for agents