Activity analysis (splits, laps, best efforts)
get_activity_analysisAnalyze one Garmin activity for per-km/mile splits, laps, best efforts, HR-zone time and first-vs-second-half drift. Use it to check negative splits, fastest segments or heart-rate drift.
Instructions
Per-km or per-mile splits, the watch's laps / workout reps, best efforts, time in HR zones and first-vs-second-half drift for ONE recorded activity, computed from Garmin's original FIT file. Use for 'my km splits', 'did I negative split', 'fastest 5 km in this run', 'how long in zone 2', 'did my HR drift'. splits: one row per km/mile (time, pace, cumulative time, avg/max HR, cadence, power, elevation gain/loss), timer time so pauses don't count, final partial split labelled with its distance. laps: the watch's own laps with intensity (warmup/active/cooldown/rest) and trigger (manual, distance, ...). best_efforts: fastest continuous 1 km, 1 mile, 5 km, 10 km, half and marathon the activity is long enough for, with where each started. hr_zones: time in each of the user's HR zones. drift: first vs second half pace, HR and aerobic decoupling. Get the ID from search_activities. Manual entries and GPX/TCX imports return a short 'unavailable' note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Split length and pace unit. Defaults to the user's Garmin unit setting. | |
| include | No | Sections to return. Drop ones the question doesn't need for a shorter answer. | |
| activity_id | Yes | Garmin activity ID, from search_activities. |