Get Activities by Date
get_activities_by_dateRetrieve Garmin Connect activities within a specified date range, with optional activity type filter. Summarizes each activity to review training history or analyze performance over any period.
Instructions
Get all activities within a date range, optionally filtered by type. Each one is summarised the same way list_recent_activities summarises them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of activities to list (1-200, default 100). The response says when the range holds more; count_activities gives the total without listing them, and get_progress_summary or analyze_training_period aggregate the whole range. | |
| endDate | No | End date in YYYY-MM-DD format | |
| sortOrder | No | Sort order: asc (oldest first) or desc (newest first, default) | |
| startDate | Yes | Start date in YYYY-MM-DD format (required) | |
| activityType | No | Filter by activity type: running, cycling, swimming, hiking, walking, fitness_equipment, etc. A sub type such as strength_training or trail_running is accepted too — Garmin filters by top-level type only, so it is queried under its parent and narrowed back down here. get_activity_types lists every key. | |
| includeDetails | No | Return every field the activity list service sends rather than the summary (default false). Roughly ten times larger; a range holding more than about 25 activities will not fit in a response. |