get_activity_streams
Fetch activity time-series (heart rate, watts, cadence, altitude) downsampled to evenly spaced points, with min/mean/max per series. Select specific data types and sampling density.
Instructions
Time series inside one activity, downsampled.
types is a comma-separated list, for example heartrate, velocity_smooth,
altitude, cadence, watts, temp, latlng. Returns `points` evenly spaced
samples per series plus min/mean/max over the whole series. points must
be between 2 and 2000. The raw data can exceed ten thousand samples per
series, so pass full=true only when the shape of every second genuinely
matters -- not a small `points` value, which is rejected rather than
silently answered with the full series.
latlng sometimes comes back from intervals.icu as latitude only rather
than [lat, lon] pairs; when that happens the series carries a note
saying so instead of a silently wrong coordinate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | ||
| types | No | heartrate,velocity_smooth,altitude,cadence,watts | |
| points | No | ||
| activity_id | Yes |