Strava Activity Series
strava_activity_seriesFetch a downsampled series for a single activity metric, capped at 500 points so multi-hour activities don't overflow the context window.
Instructions
Bounded time-series for one activity metric (agent-safe-series/v1). Returns exact stats on full-resolution samples plus a downsampled series capped at 500 points, so a multi-hour ride never blows the context window. Prefer strava_get_activity / zones first; reach for this when you need the shape of the effort. GPS is never returned here. Shared contract with garmin_activity_series / Kindred workout_series.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Strava activity id. | |
| metric | No | Which sample stream to shape. GPS is never available here; use strava_get_activity_streams with include_gps for latlng. | heart_rate |
| max_points | No | Point budget for the returned series. Server hard cap is 500. | |
| response_format | No | markdown | |
| reference_max_hr | No | Reference max heart rate for zone math (reference_source=caller_provided). Without it, uses activity max_heartrate when available, else series observed max. | |
| resolution_seconds | No | Requested bucket width. Raised automatically when it would exceed max_points; response reports what was used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| notes | Yes | ||
| stats | Yes | ||
| method | Yes | ||
| metric | Yes | ||
| points | Yes | ||
| t_unit | Yes | ||
| start_time | No | ||
| activity_id | Yes | ||
| downsampled | Yes | ||
| data_quality | Yes | ||
| time_in_zone | No | ||
| source_points | Yes | ||
| returned_points | Yes | ||
| contract_version | Yes | ||
| resolution_seconds | Yes | ||
| requested_resolution_seconds | Yes |