getActivityWorkouts
Retrieves the planned workout followed by a Garmin activity, including ordered steps, intensity, duration, targets, and coach notes so you can compare plan against actual performance.
Instructions
The planned workout that an activity followed, as created in Garmin Connect: its steps in order, each with its intensity (warmup/active/rest/recovery/cooldown), its duration (time in seconds, reps, or open), its target (cadence, heart rate, pace, or open, with low and high values), the exercise for strength steps, and the coach's notes. A step with durationType REPEAT_UNTIL_STEPS_CMPLT repeats the steps from stepIndex durationValue up to it, targetValue times in all. Compare it with getActivitySets or getActivityLaps for plan against done. An empty list means the activity followed no planned workout. Null fields are left out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activityId | Yes | Garmin activity id |