For Coaches Coaching workflows

Excluding an activity from a specific metric

When to mark an activity as "do not use for CSS / CdA / etc." without removing it from training load.

What metric exclusions do

An Activity can be excluded from contributing to specific MetricHistory types (like css_pace, cda, critical_power, etc.) while still counting toward Load and the PMC. This lets you keep an activity in the training load picture without letting its bad data corrupt a downstream calculator.

The data lives in Activity.metric_exclusions as a JSON list of metric type keys, e.g. ["css_pace", "cda"].

When to exclude

Common cases:

In all these cases, the activity still counts as training load (Load, Fatigue, Fitness, Form) because the athlete still did the work and still needs recovery.

How to set exclusions

Open the activity detail page. The metric exclusions control exposes a list of MetricHistory types that this activity contributes to (e.g. CSS pace, CdA, critical power). Toggle the ones you want to exclude.

API endpoint: POST /api/athlete/<pid>/activity/<id>/metric-exclusions/ with a JSON body of {"metric_exclusions": ["css_pace", "cda"]}. Pass an empty list or null to clear all exclusions.

What changes after exclusion

Difference from Load override

Action What it changes
tss_override The training-load value for this activity.
metric_exclusions Whether this activity feeds specific calculators.

Use both together when an activity has both problems (e.g. a bad power test with broken AdjP).

See also: Load computation and override, Activity quality flags.

Last updated May 12, 2026

Still stuck? Ask us a question and we'll write up an answer.

Ask a question