Skip to main content
Live adaptation is behind a feature flag during early access. Routes return 404 while the feature is off for an account.
When a teammate trains a program the engine built, live adaptation watches each logged set and adjusts the remaining sets in that session when effort runs clearly harder or easier than planned. Teammates and coaches choose how sensitive those adjustments are, and the teammate can undo any live change with one tap. Set these two values once in your terminal. Every example in these docs reads them, so no example has a host or a key typed into it.
Use a test key (it starts with 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 enabled switch (defaults to true);
  • a preset (defaults to general_fitness);
  • a policy (resolve_remaining, which adjusts the remaining sets of the current session);
  • the triggers in force (the preset’s triggers plus any custom triggers).
Profile changes apply at the next session start. A session that is already running keeps the triggers it started with so behavior stays predictable mid-workout. Read or update a teammate’s profile through the /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 programs consent.
Anyone else receives 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 the adaptation_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:
When a change is vetoed:
  • 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.
Only the newest applied change in an active session can be vetoed. Repeating the same veto returns the same result without writing anything new.

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.