Skip to content

Output Examples — Workouts ​

All examples show default output. Add --json to any command for raw JSON.


fitops workouts list ​

bash
fitops workouts list
  threshold-tuesday.md   Threshold Tuesday   Run   60 min   [threshold, quality]
  long-run-sunday.md     Long Run Sunday     Run   90 min   [aerobic, base]
  vo2max-wednesday.md    VO2max Wednesday    Run   50 min   [vo2max, intervals]

bash
fitops workouts link threshold-tuesday 17972016511
Linked  Threshold Tuesday  →  activity 17972016511

  Snapshot saved
  CTL     42.2
  ATL     54.0
  TSB     -11.8
  VO2max  55.4 ml/kg/min

fitops workouts compliance <activity_id> ​

bash
fitops workouts compliance 17972016511
Workout Compliance  Threshold Tuesday  →  17972016511

  Overall score   0.84  ✓

  Segment              Duration   Zone   Score   In-zone   Deviation
 ─────────────────────────────────────────────────────────────────────
  Warmup               10:00      Z1-2   0.91    94%       -0.1 zones
  Main Set (4×8min)    32:00      Z4     0.82    79%       +0.2 zones
  Cooldown              8:00      Z1     0.88    91%        0.0 zones

A score ≥ 0.8 per segment is a successful execution.


fitops workouts history ​

bash
fitops workouts history --limit 5
  Date        Activity                      Workout              Score
 ───────────────────────────────────────────────────────────────────────
  2026-04-04  Outdoor run (17972016511)     Threshold Tuesday    0.84
  2026-03-28  Morning Run (17930412200)     Long Run Sunday      0.91
  2026-03-22  Salvaterra 12K (17910000000)  —                    —

fitops workouts summary ​

bash
fitops workouts summary --period month
Workout Summary  This Month

  Metric                 Value        Context
 ─────────────────────────────────────────────────
  Completed sessions     8            5 different workouts
  Average compliance     84%          7 scored sessions
  Workout time           6:42:00      74.3 km
  Segments in target     76%          48 stored segments
  Most repeated          Threshold Tuesday  3 sessions
  Best compliance        Easy Aerobic       94%

The summary uses stored workout links, stored segment scores, and activity summary rows. It does not recompute compliance during the read.


fitops workouts analytics ​

bash
fitops workouts analytics "Threshold Tuesday" --period year
Threshold Tuesday  contribution | This Year

  Metric                    Value        Context
 ─────────────────────────────────────────────────────────
  Sessions                  6            9 all-time
  Training load             412.5 TSS    18.4% of period load
  CTL contribution          7.42         ATL 3.18
  Compliance-weighted load  348.7 TSS    85% avg compliance
  True pace change          4.2% faster  4:58 → 4:45
  TSS coverage              100%         0 missing sessions

The analytics command uses stored activity TSS, stored true pace, stored workout links, and stored segment rows. If older activities do not have cached TSS or true pace, FitOps reports the missing coverage instead of estimating those values during the read.


fitops workouts edit ​

bash
fitops workouts edit "Threshold Tuesday" updated-workout.json --name "Threshold Progression"
Updated workout 12 (Threshold Progression); cleared 18 cached segment rows.

Editing replaces the markdown definition and clears cached segment compliance for linked executions.


fitops workouts delete ​

bash
fitops workouts delete "Threshold Progression" --yes
Deleted workout 12 (Threshold Progression); removed 3 links and 18 segment rows.

Deletion removes the workout definition, workout links, cached segment scores, and the markdown file when no other workout row references it.


JSON output (--json) ​

bash
fitops workouts compliance 17972016511 --json
json
{
  "_meta": { "generated_at": "2026-04-06T09:15:00+00:00" },
  "activity_id": 17972016511,
  "workout_name": "Threshold Tuesday",
  "overall_compliance_score": 0.84,
  "segments": [
    {
      "name": "Warmup",
      "duration_seconds": 600,
      "target_zone": 2,
      "time_in_target_pct": 0.94,
      "average_hr_bpm": 141,
      "zone_deviation": -0.1,
      "compliance_score": 0.91
    },
    {
      "name": "Main Set",
      "duration_seconds": 1920,
      "target_zone": 4,
      "time_in_target_pct": 0.79,
      "average_hr_bpm": 168,
      "zone_deviation": 0.2,
      "compliance_score": 0.82
    },
    {
      "name": "Cooldown",
      "duration_seconds": 480,
      "target_zone": 1,
      "time_in_target_pct": 0.91,
      "average_hr_bpm": 132,
      "zone_deviation": 0.0,
      "compliance_score": 0.88
    }
  ]
}

← Output Examples

FitOps CLI — terminal-first training analytics