listActivities
Retrieve Garmin activities as a compact, newest-first summary of metrics and training details, with filters by date, type, or name and optional raw JSON for workout review.
Instructions
List the user's Garmin activities (most recent first) as a compact summary: id, name, type, local start time, distance (km), moving duration, average pace, average/max heart rate, cadence, ascent; when Garmin has them: elapsed time (if longer than moving time), race flag, Garmin training load, aerobic/anaerobic training effect and label, seconds in HR zones 1-5, calories, moderate/vigorous intensity minutes, body battery change, steps, swim SWOLF, pool length, lengths and strokes, power, running form (stride, ground contact, vertical oscillation and ratio), grade-adjusted pace, best efforts (1k, mile, 5k, 10k, half, marathon) and run/walk segments. Dates are yyyy-MM-dd. Set raw=true for Garmin's full JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Return Garmin's raw JSON instead of the summary | |
| limit | No | Max number of activities, default 20 | |
| names | No | Activity names (optional): keep only the activities whose name contains one of them, ignoring case | |
| endDate | No | End date yyyy-MM-dd (optional) | |
| startDate | No | Start date yyyy-MM-dd (optional) | |
| activityType | No | Activity type key (optional): a parent type such as running or cycling, or a subtype such as trail_running |