Switch the active design variation
switch_variationMake a previously-generated design variation the ACTIVE (live) design for a site, by its index (from list_variations). Refinements and publishing target the active design, so use this to switch which design is live. The other variations are preserved and can be switched back to. After calling, the change is immediate (no polling needed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Zero-based variation index/slot to activate (see list_variations) | |
| site_id | Yes | The site to switch the active design on | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. |