Set budget
set_budgetSet the account budget amount/period and arm or disarm the account-level Emergency Brake. The Emergency Brake is ON by default: when real month-to-date spend passes the budget, Growomat automatically pauses the affected campaigns and notifies the owner. Pass emergency_brake=false to disarm it (spending past the budget will then pause nothing). Raising global_budget re-arms a previously-spent brake for the rest of the month. Writes real configuration that can stop live campaigns — confirm intent before disarming.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Whether global_budget is a daily or monthly amount. Monthly is the default the product uses. | |
| currency | No | ISO 4217 currency code, e.g. EUR. | |
| global_budget | No | Budget amount, interpreted per `period`. Positive. | |
| emergency_brake | No | Arm (true) or disarm (false) the account-level Emergency Brake. Default is armed. | |
| alert_threshold_percent | No | Percent of budget (50-100) at which the approaching-the-limit warning fires. Default 90. |