Get activity laps
get_activity_lapsReturn laps and pace summaries for runs, rides, or pool swims to check whether pace held up across halves and compare lap splits.
Instructions
Return the laps of a run or ride, or the pace per 100 m or yd of a pool swim, with a summary: average pace or speed, first half against second half, and the fastest and slowest lap or 100.
Answers "did my pace hold up?". Strength sessions have sets, not laps: use get_activity_sets. Two Garmin requests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | Garmin's activity id, from list_activities. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| laps | No | ||
| sport | No | ||
| summary | No | ||
| segments | No | Pool swims: pace per 100 of the pool's unit. | |
| pool_unit | No | "m" or "yd". | |
| activity_id | Yes | ||
| pool_length | No | In pool_unit. |