Get activity streams
get_activity_streamsFetch time-series streams for an Intervals.icu activity, such as power, HR, cadence, speed, altitude, or GPS. Downsample to 500 points by default; request only needed channels or adjust max_points.
Instructions
Get time-series data streams for an activity (power, HR, cadence, speed, altitude, GPS, etc.). Streams are large, so each channel is downsampled to 500 evenly spaced points by default. Pass types to fetch only the channels you need, and raise max_points only when you genuinely need finer resolution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | No | Channels to return, e.g. ["watts","heartrate","cadence"]. Omit for all channels (much larger). | |
| max_points | No | Downsample each channel to at most this many points (default 500) | |
| activity_id | Yes | The activity ID |