get_long_ride_fatigue_profile
Compare steady power-band segments before and after work thresholds on long rides to track fatigue changes in heart rate, W/bpm, cadence, and Garmin stamina.
Instructions
Use to see how long rides change at matched power as work accumulates: HR, W/bpm, cadence and Garmin stamina in steady segments of a power band (default 75-85 % FTP) before vs after work thresholds.
Phases by work (default 750 / 1,500 kJ, or kJ/kg) are compared with the phase before the first threshold. Threshold crossings and climbs carry the prior work (kJ, kJ/kg, kJ and time above FTP, efforts above FTP). Rides from activity_ids or the long rides of a period (default 180 days, reaching the highest threshold; limit 6, max 12). Across rides: median and range of the changes with n, small samples flagged. Statistics only, no verdict. Read-only; one stream call per ride plus 1-4 (one more per id with activity_ids). Fresh vs fatigued power curves: get_fatigue_resistance. Method: intervals://methods/fatigue (get_guide).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rides analysed, newest first; capped to 1-12 | |
| 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 180 days before end_date | |
| power_bands | No | Comma-separated non-overlapping bands in W as "low-high", e.g. "180-200"; default 75-85 % FTP | |
| sport_types | No | Comma-separated activity types of the period search | Ride,GravelRide |
| activity_ids | No | Comma-separated activity ids (capped to limit); default the long rides of the period | |
| detail_level | No | compact = ride totals, changes, climb count; standard adds thresholds, phases, climbs, method; full adds every segment | standard |
| output_format | No | json = machine-readable, all fields | text |
| threshold_unit | No | kj = absolute work; kj_per_kg = kJ per kg body mass | kj |
| work_thresholds | No | 1-3 comma-separated positive values in threshold_unit, e.g. "750,1500" | 750,1500 |
| min_climb_gain_m | No | Minimum climb elevation gain in metres, > 0 | |
| min_segment_secs | No | Minimum steady segment length in seconds, >= 90 | |
| climb_after_hours | No | Climbs starting after this many hours are marked late, >= 0 |