get_durability
Analyze aerobic durability from Intervals.icu by measuring power:HR or pace:HR decoupling and efficiency factor trends in steady long rides and runs over a default 6-week window.
Instructions
Use for aerobic durability: Intervals.icu's aerobic decoupling (power:HR, or pace:HR for runs without power; drift between the halves in %) of steady long cycling and running sessions and the efficiency factor trend (read-only, default the last 6 weeks).
Sessions pass a quality filter (min_minutes moving, few stops, HR, rides with power, variability index up to max_vi, temperature up to max_temp_c, optionally indoor or outdoor only); excluded ones are counted per reason. Per sport family: median, range, quartiles, sessions above drift_threshold_pct (5 % commonly cited) and the last recent_days against the window. Fewer than 8 qualifying sessions are flagged as a small sample; mixed indoor/outdoor, bikes/shoes or power meters are noted. Statistics only, no verdict. Per interval and bike: get_power_hr_efficiency. Method: intervals://methods/durability (get_guide).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_vi | No | Maximum variability index (steadiness), at least 1 | |
| end_date | No | Last day YYYY-MM-DD; default today | |
| athlete_id | No | Default: the configured athlete | |
| max_temp_c | No | Maximum average temperature in °C; null = no limit; a missing temperature passes | |
| start_date | No | First day YYYY-MM-DD; default 41 days before end_date (6 weeks); max 366 days | |
| environment | No | Only indoor (trainer, virtual) or outdoor sessions; omit for both | |
| min_minutes | No | Minimum moving time in minutes, above 0 | |
| recent_days | No | Recent window in days compared with the whole period | |
| sport_types | No | Comma-separated activity types, e.g. "Ride,VirtualRide"; default every cycling and running type | |
| detail_level | No | compact = per-sport summary; standard adds the qualifying sessions and the reference; full adds the excluded sessions | standard |
| output_format | No | json = machine-readable, all fields | text |
| temperature_source | No | Temperature for max_temp_c: device sensor, Intervals.icu weather or its feels-like | device |
| drift_threshold_pct | No | Decoupling in % above which sessions are counted |