OptionalbudgetBudget window: Defaults to LIFETIME (cumulative cap).
OptionalenableWhether the budget is enabled. Defaults to true when omitted.
OptionalflagCustom tracking flag to scope the limit to. Omit (with unitId) to target the tenant-wide default.
Maximum agent iterations permitted per call. Required and positive.
OptionalmaxMaximum spend permitted within the budget window, in micro-dollars (1_000_000 = $1.00). Required and positive when enabling; omit it while disabling for an uncapped-but-metered scope.
OptionalunitOperating Unit seqnum to scope the limit to. Omit (with flag) to target the tenant-wide default — a null wildcard on that dimension.
OptionalutcAnchors windowed schedules to the tenant's local calendar. Defaults to 0.
Budget configuration for B.ai.configure().
maxIterationsis required and positive on every call;maxSpendMicrosis required and positive when enabling and may be omitted whenenable: false; the rest are optional.