get_activities
Find activities and their ids in a date range, filtered by sport, gear or power meter, with paged summaries or JSON records for training review.
Instructions
Use to find activities and their ids in a date range (default the last 30 days up to today, 10 per page), e.g. all rides on one bike over a season.
Returns one summary block per activity (Intervals.icu load, power, HR, feel/RPE, gear), one line each with detail_level=compact, or JSON records with units and local/UTC start. Filters: sport types, gear, power meter name. Any filter, sort, offset, compact or json gives a paged listing with the total and the next offset. Unnamed activities are hidden unless include_unnamed; nothing outside the date range is listed. Read-only. One activity in depth: get_activity_report. Method: intervals://methods/activity-data (get_guide).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Activities per page | |
| offset | No | Matching activities to skip (pagination) | |
| gear_id | No | Only activities on this gear id (get_gear_list) | |
| sort_by | No | Newest or oldest first, or largest distance, moving time or load first | date_desc |
| end_date | No | Last day YYYY-MM-DD; default today | |
| athlete_id | No | Default: the configured athlete | |
| start_date | No | First day YYYY-MM-DD; default 30 days before the earlier of end_date and today | |
| power_meter | No | Only activities whose power meter name contains this text, e.g. Rally; others excluded | |
| sport_types | No | Comma-separated activity types, e.g. "Ride,GravelRide" | |
| detail_level | No | summary = text block per activity; compact = one line each | summary |
| output_format | No | text, or json (records with units, local and UTC start, paging) | text |
| include_unnamed | No | Also list activities without a name |