Skip to main content
POST
Simulate one week for a simulated teammate

Authorizations

X-API-Key
string
header
required

Path Parameters

simulated_id
string
required

The external_id you gave the simulated teammate.

Required string length: 1 - 64
Pattern: ^[A-Za-z0-9._:-]{1,64}$

Body

application/json
behavior
enum<string>
required

How the simulated teammate trains this week.

Available options:
on_plan,
misses_sessions,
finds_it_hard,
reports_pain
include_device_readings
boolean
default:false

Also send generic device readings (bar velocity on sets, resting heart rate, sleep duration). Off by default: the week runs from logged sets and self-reports alone.

include_results
boolean
default:false

Also send one simulated protocol measurement for each of the four first protocols (40-yard sprint, 60-yard sprint, vertical jump, lift max) and vouch for two in test mode (level 3 simulated coach witness and level 4 simulated certifying event). Requires a test key holding the measurements:write scope.

seed
number
default:0

The same seed and behavior always give the same week.

Required range: 0 <= x <= 2147483647

Response

events
object
required
program_id
string | null
required

The program the week followed, or null when the teammate has no active program yet (the week then follows the preset's own sessions).

replan_requested
boolean
required

True when the week was handed to the program for a re-plan. A program.revised webhook follows when the plan changes.

simulated_now
string
required
week
object
required
results
object