get_run
Full detail for one run: its summary plus per-kilometre splits. splits[] is empty on any manually-logged run, and may be empty on an imported one — but an import is NOT splitless by rule: where the source supplied no kilometre markers and no usable route clock, splits are derived from the run's own speed series, so most imported runs do carry them. An empty splits[] is expected rather than missing data; the rest of the summary (metrics, best_efforts, elevation) is unaffected. A run may end with one row carrying coverage:"uncovered": the source's samples stop before the run did, so that distance has no split data and no pace. Never estimate or quote a pace for it; the run-level splits_coverage block says how much is covered. A guided session with one main block and a warm-up or cool-down around it may also carry block_splits: the kilometres (or miles, per its unit) inside that block, counted from the block's start and timed at the watch's own boundaries, adding up exactly to that segment's distance and moving time (its note says when a row was timed a few seconds off the moving clock); when asked for the splits of the block ("the km splits of the 5K"), answer from block_splits, never from the whole-run splits[] that straddle the block's edges, and when it reads status "unavailable" give the segment's totals and do not estimate kilometres inside the block (get_help topic splits-inside-a-block). Any STRUCTURED guided run may carry segment_summary — a rep-by-rep breakdown with avg/max HR, pace, cadence, power per segment, target pace and heart-rate target (where set: targetHrBpm for a single value, or targetHrLowBpm + targetHrHighBpm for a planned range — read the range as the target, e.g. 125–145), and HR-drop@30s/60s/90s on every recovery block (the recovery HR-drop is one of the best aerobic-fitness signals and is invisible from km splits). Since 2026-08-20 this is keyed on what was MEASURED, not on the type label: a tempo- or easy-typed guided session with real multi-segment structure (e.g. cruise intervals authored as tempo) carries the full breakdown; the run's workout_type still honestly reads the planned type — treat the type as the training classification and segment_summary as the measured structure, and never call the run 'interval training' merely because segments exist. segment_summary is null when the run has no genuine breakdown (fewer than 2 segments on a non-intervals type), and on runs the athlete explicitly relabeled away from intervals. It also carries session_kind: 'intervals' for a classic uniform repeated set, or 'custom' for a composed/varied session (a pyramid, progression, descending-pace reps, or a mixed session) — the app shows the latter as a "Custom Run". Read segment_summary to see the exact structure either way. The run also carries recovery_segment_count: 0 means a work-only session (e.g. AI-authored back-to-back efforts with no recovery floats), so the absence of recovery HR-drop there is BY DESIGN — treat it as expected, not missing data; a positive count means recovery blocks exist and HR-drop should be present. Note: runs recorded before 2026-07-06 may record as workout_type 'intervals' for structured non-interval sessions (a historic labelling quirk); since 2026-08-20 the type follows the planned session honestly — either way, check run_category/run_name and the planned schedule, and if the plan says long/tempo/easy, treat it as that planned session, not as interval training. Same data conventions as get_runs: "limited" = at most a brief note (never hedge), "not_recorded" = excluded, never zero; no sample-size refusals. Splits and the run summary include cadence_spm (steps/min). The run summary also carries active_energy_kcal — total active energy burned for the workout (kcal); report it directly when asked, null when the watch didn't record it, never zero. Splits and the run carry canonical elevation_gain_m/elevation_loss_m plus an elevation_*_gps diagnostic and (run-level) elevation_source ∈ 'dem'|'barometric'|'gps'|'unavailable' (terrain-model DEM derived when 'dem' — highest confidence, the default where coverage exists; barometric when 'barometric'; GPS-derived when 'gps' (may be null on older imported rows — gain/loss null, never zero); 'unavailable' = no canonical elevation, gain/loss null, never zero); report canonical elevation directly. Both the run summary and each split carry gap_s_per_km — grade-adjusted pace (metric s/km, the flat-equivalent pace: uphill faster than raw pace, downhill slower, flat ≈ equal) with gap_source 'dem'/'gps'/null. Per-split GAP shows which kilometres were genuinely hard once the hill is accounted for; it is gated independently per split, so a short partial-tail split may be null while full splits have a GAP. Null gap_s_per_km is never zero. The run summary also carries decoupling — aerobic decoupling (Pa:HR, grade-adjusted): pa_hr_pct is how much HR drifted up relative to pace over the run's two halves — lower is better, under ~5% is well-developed aerobic fitness; computed over active (moving) time with pauses excluded, so a stop-start run is scored on its running only; null on interval runs and on runs with under ~10 min of moving time (never zero); a value from one watch is not comparable 1:1 with another watch's value on the same run. best_efforts is the fastest rolling effort at each of 1k/1mi/3mi/5k/6mi/10k within this single run (each present only if the run is at least that long); the mile rungs are the race equivalents of the km rungs (3mi ≈ 5K, 6mi ≈ 10K) — present the km rungs to metric athletes and the mile rungs to imperial. hr_zones is time-in-zone (Z1–Z5) from the athlete's max HR — seconds + pct per zone; null when max HR is unknown. Each run also carries recording_profile (full = HR plus a body-worn sensor form metric — power / GCT / vertical oscillation; gps_hr = HR but no sensor form metric; gps_only = no HR, a phone/GPS run. A Garmin CSV import reads gps_hr (coarse HR, device cadence/stride, no route; gps_only when the export has no HR column) and cannot read full; the converse does not hold — a watch run that recorded no power/GCT/VO also reads gps_hr, so never infer an import from the profile alone. See the imported-runs guidance before explaining why form metrics are absent) and subjective (the athlete's own perceived_effort 1-10, tiredness_after 1-5, reserve 1-5 — null if not entered). recording_profile, distance_provenance, run_name and subjective are returned ALONGSIDE the run object (top-level siblings), not nested inside it (run_name semantics as in get_runs). distance_provenance — 'recorded' = device-measured; 'corrected' = a treadmill run corrected to the belt's number, with recorded_distance_m carrying the original device estimate (null when there was none); 'manual' = logged from the user's own description, distance as they reported it. Corrected and manual runs never set personal bests and never feed Race Fitness, but count toward volume, consistency and schedule tick-off. On a manual run every metric reads not_recorded and recording_profile is not meaningful — never describe a manual run as a GPS or phone run. The payload carries source_app / source_bundle_id / recorded_by_us — which app wrote the record — and plan_matched (same meaning as on get_runs). When a run carries both splits and segment_summary, read them against each other before drawing a conclusion: a work segment whose pace is far slower than the kilometre splits it covers usually means the segment boundary ran past the effort, not that the effort collapsed. Clocks: the run's duration_s/pace_s_per_km are MOVING time (pauses excluded). Each split carries clock — wall means its duration_s includes any pause inside that kilometre, so a paused run's split can read far slower than the run's pace without being a bad kilometre; do not compare a wall split against the run pace, or sum wall splits to the run's duration, without allowing for pauses. A split with pace_s_per_km: null and split_quality: "implausible_pace" is a clock artefact, not a fast kilometre. best_efforts and time_bests are WALL-CLOCK windows — the fastest contiguous stretch of the run with any pause inside it counted — so on a paused run a best-effort rung can legitimately read slower than a rep in segment_summary or a run-level pace timed on the moving clock; that is the pause, not a contradiction. Never restate a best effort as a moving-time pace. Garmin (Connect IQ) runs send no pause events, so their split moving time may be priced from pauses INFERRED from gaps in the watch's own sample stream and used only when those gaps reconcile against the run's own two clocks — on such a run a split reading clock: "moving" was priced that way, while one still reading wall means the inference did not apply — the run had no pause to find, or the gap evidence did not reconcile. A run may also carry clock_contradiction — {excess_s, span_s, duration_s}, present only when that run's pause-excluded moving time exceeds its own wall clock (ended_at − started_at) by more than 60 s, which means NEITHER clock on that run can be trusted: the run is still stored and still listed, but it is excluded from every aggregate, every personal best, every race prediction and the training-load model, and its best_efforts and time_bests are null. Do not restate that run's pace or duration as a fact. A Garmin (Connect IQ) run may carry sample_coverage: when truncated is true, the watch's sample series ends unexplained_tail_s before the run did; run-level HR is the watch's own figure when run_hr_source is watch; charts and per-km HR inside the tail are absent, not zero. series_samples: 0 means the watch sent no sample series at all for that run (not a lost tail): truncated and unexplained_tail_s then describe the whole run, not a missing ending.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"run_id": "<run_id>"
},
"name": "get_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run's backend id |