get_intensity_distribution
Analyze training intensity distribution for a date range by mapping activity time in zones to a three-zone model, returning Z1-Z3 shares, hours, polarization index, class, hard sessions, and drift.
Instructions
Use for the training intensity distribution of a period (default the last 4 weeks, read-only): Intervals.icu's time in zones of each activity mapped to the three-zone model (Z1 below the first threshold, Z2 between, Z3 above the second).
Returns Z1/Z2/Z3 shares and hours, the polarization index (Treff et al. 2019), the class (Base, Polarized, Pyramidal, Threshold, HIT) and hard sessions and days for the period, per sport family and per ISO week, and the drift between the two halves. The mapping depends on the zone basis and the zone count of the athlete's model. Activities without zone data are never counted as easy; the coverage is reported. Statistics only, no verdict. Overview: get_coach_context. Method: intervals://methods/intensity (get_guide).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 27 days before end_date (4 weeks); max 366 days | |
| zone_basis | No | auto = power for cycling, else HR, then pace, then power; or one basis for all | auto |
| sport_types | No | Comma-separated activity types, e.g. "Ride,GravelRide" | |
| detail_level | No | compact = period, sports, drift; standard adds ISO weeks, zone mapping and rules; full adds every session | standard |
| threshold_as | No | Power zone Z4 (91-105 % FTP) counts as moderate (three-zone Z2) or high (Z3) | moderate |
| output_format | No | json = machine-readable, all fields | text |