getActivityLaps
Read per-lap splits from an activity's original .FIT file to inspect intervals, per-km auto-laps, and workout steps with pace, heart rate, cadence, power, and running form.
Instructions
Laps of an activity as recorded by the watch (manual laps, auto-lap every km, or workout steps), read from the original .FIT file. One row per lap: distance (km), timer time, pace (min/km, foot sports) or speed (km/h), average/max HR, cadence (spm for running), ascent/descent, average power, running form (gctMs, vertRatioPct, vertOscCm, strideCm), intensity (active, interval, rest, recovery, warmup, cooldown; the auto laps of a free run can be interval), lap trigger, and the step of the planned workout (step: the reps of one drill share it). Use it for intervals and per-km splits; getActivity does not have them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activityId | Yes | Garmin activity id |