Optimiser
The Optimiser runs single-period budget allocation using the fitted model’s response curves.
Total budget
Section titled “Total budget”“Total budget” means the total spend available for one period at the model’s training granularity:
- Weekly model → budget is “per week”.
- Daily model → budget is “per day”.
The UI can show a historic baseline derived from the training data (mean/min/max per period).
Constraints
Section titled “Constraints”Constraints limit the optimiser’s search space (min/max spend per channel).
TODO: Document the exact constraint schema once the UI flow is final (the backend accepts a dict).
API endpoints used
Section titled “API endpoints used”- Budget stats:
GET /v2/runs/{run_id}/budget-summary - Start optimisation:
POST /v2/optimisations - Cancel optimisation:
POST /v2/optimisations/{optimisation_id}/cancel