Core Concepts
Workout Structure
WorkoutTemplate
├── name: "FTP Intervals"
├── sport: "cycling"
├── environment: "outdoor" (optional — indoor, outdoor, pool)
├── description: "Build threshold power"
├── pool_length_meters: null (only for swimming)
│
└── step_blocks: [
StepBlock {
completion_condition: { type: "reps", value: 4 } ← Repeat 4 times
steps: [
WorkoutStep { ... }, ← Do this
WorkoutStep { ... } ← Then this
]
}
]Step Blocks
Block Completion
Behavior
Example: 4x400m Intervals
Workout Steps
Field
Required
Description
Completion Conditions
Type
Value
Description
Example: Recovery Until HR Drops
Intensity Types
Type
Display
Use For
Intensity Targets
Target Types
Target Type
Value Unit
Example
Provider Support
Target Type
Requires
Example
Target Type
Value
Provider Support
Target Value Formats
Sport Types
Sport
Description
Provider Support
Environment (Optional)
Environment
Description
Complete Example
Validation Rules
Field
Requirement
Target Type
Valid Range
Last updated
Was this helpful?