getActivitySets
Reads strength training sets from an activity's .FIT file, returning per-exercise reps, weight, set and rest times for trend tracking.
Instructions
Strength training sets of an activity, read from the original .FIT file. One entry per exercise, in the order first done, with its movement category, its primary and secondary muscles (from Garmin's exercise catalogue) and its active sets: reps, weight (kg, absent when none was recorded), set time in seconds and the rest after the set (restSec). Exercise names are stable across sessions, so they can be used for per-exercise trends. Edits made later in Garmin Connect (renamed exercises, corrected reps or weights) are not in the .FIT file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activityId | Yes | Garmin activity id |