Live adaptation is behind a feature flag during early access. Routes return
404 while the
feature is off for an account.tf_test_) while you build. Never paste a live key into a
page, a ticket or a chat.
Triggers and presets
A trigger is a plain rule that watches set-level effort readings against the planned target for each movement. For example, a trigger can fire when reported effort is at least 1.5 over target on two consecutive sets of the same movement. A preset groups a tested set of triggers for a training goal:
List the presets available for a profile with
GET /v1/adaptation-presets:
The on/off switch and when changes take effect
Every teammate has one adaptation profile with:- an
enabledswitch (defaults totrue); - a
preset(defaults togeneral_fitness); - a
policy(resolve_remaining, which adjusts the remaining sets of the current session); - the
triggersin force (the preset’s triggers plus any custom triggers).
/v1 API (requires programs:read or
programs:write and the teammate’s programs consent):
Who can change a profile
- Teammate without a coach: changes their own switch, preset and custom triggers.
- Teammate with a coach: both can see every trigger and who created or last updated it. Both can add custom triggers, and the coach can change any trigger, including ones the teammate added.
- Organization: can read and update the profile for a teammate who granted
programsconsent.
403.
What a live change does and the session cap
When a trigger fires on a live set, only the remaining sets of the current session are updated. Sets already logged stay untouched. Each response includes a plain sentence explaining what changed and why, along with theadaptation_id.
To keep a workout steady, live adaptation applies at most 3 changes per session across all
triggers. Once a trigger fires, it also enters a cooldown period (a fixed number of sets or the
rest of the session) before it can fire again on that movement.
The veto and the quiet period
The teammate always has the final say. Calling the veto endpoint undoes the latest live change in an active session:- sets not yet logged return to the prescription from before that change;
- sets already logged stay as logged;
- that trigger stays quiet for the rest of the session, while other triggers can still fire.
Live adaptation vs next-day adaptation
Live adaptation and next-day adaptation work together without competing:- Live adaptation adjusts the remaining sets of today’s active session while sets are logged live.
- Next-day adaptation uses logged sets and pain reports to update upcoming sessions in the program after the session is logged. See Programs and revisions and Proposals and coach approval.