get_activity_series
The ride's own CHART as a table: time-bucketed average power, heart rate, cadence and altitude across a completed activity, as CSV. This is what the app draws in the activity card, in numbers. Call it when a summary is not enough and you need to SEE the session — where heart rate crossed a level, whether it plateaued inside a rep or kept climbing, what a valley actually looked like, where the terrain turned. Buckets are chosen so any ride comes back near 150 rows. To ZOOM into one rep or one climb, pass fromSec/toSec (seconds on the moving clock — the same clock as a block's start in get_activity and a lactate sample's t) with a small bucketSec; a fine bucket over the whole ride is widened to fit ~300 rows and the header says so. Prefer this over asking the athlete for a screenshot of their own graph: they are reading the same data you can, less precisely.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | activity id from list_activities | |
| toSec | No | end of the window, seconds on the moving clock | |
| fromSec | No | start of the window, seconds on the moving clock | |
| bucketSec | No | seconds per row; omit to fit the ride to ~150 rows |