save_structured_workout
Save approved structured workout steps to Final Surge Workout Builder for watch sync; overwrite saves old steps to backup and past dates are refused.
Instructions
Write the previewed steps into the Final Surge Workout Builder; Final Surge syncs them to the watch. preview_token must come from preview_structured_workout for exactly these name and steps, after the athlete approved the preview (or inside the approved nightly task). Refuses past dates, and refuses a workout that already has steps unless overwrite=true; an overwrite saves the old steps to a backup file first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| name | Yes | ||
| steps | Yes | ||
| overwrite | No | ||
| workout_key | Yes | ||
| preview_token | Yes |