Skip to content

Inputs

A body-weight reading.

Argument Type Description
date Date! Date.
weight Float! Weight, kg (20–400).

A new personal API key.

Argument Type Description
access ApiKeyAccess! Read only, or read and write.
expiresInDays Int Days until it stops working, 1–366; omit for a key that never expires.
name String! What the key is for, 1–60 characters.

A custom exercise. A name and a body part are enough.

Argument Type Description
bodyPart String! Body part.
description String Setup and cues, up to 2000 characters.
equipment String Equipment.
id ID! Client id prefixed c_.
name String! Name, 1–80 characters.

A place you train at and the equipment it has.

Argument Type Description
equipment [String!]! Equipment keys, as in the exercise library.
id ID! Client id.
name String! Name, 1–40 characters (“Home”, “Gym”).

Per-exercise settings; weights in kg.

Argument Type Description
addedLoad Float Added load (dip belt, vest).
bodyweight Boolean Treat as bodyweight.
exerciseId ID! Exercise.
notes String Notes.
repCeiling Int Rep ceiling for bodyweight progression.
step Float Load step.
unilateral Boolean Log reps per side.
workingWeight Float Confirmed working weight.

Live workout progress for the admin “training now” view.

Argument Type Description
exerciseId ID Current exercise.
setsDone Int! Sets done.
setsTotal Int! Sets planned.
workoutId ID! Workout.
workoutName String! Workout name.

History parsed on the client from another app’s export.

Argument Type Description
bodyweight [BodyweightInput!]! Body-weight readings.
customExercises [CustomExerciseInput!]! Custom exercises they use.
workouts [WorkoutInput!]! Workouts (max 500 per call).

A browser push subscription.

Argument Type Description
auth String! Auth secret.
endpoint String! Push service URL.
p256dh String! Client public key.

A whole routine; saving replaces its items.

Argument Type Description
deload Boolean Planned deload routine.
icon String! Icon key.
id ID! Client id.
items [RoutineItemInput!]! Exercises in order (max 100).
name String! Name.
progression ProgressionRule! Default rule.

One exercise in a routine.

Argument Type Description
bursts Int Rest-pause bursts after the last work set, 0–5.
drops Int Drop sets after the last work set, 0–5.
durationSec Int Target duration.
exerciseId ID! Exercise.
id ID! Client key.
mode SetMode! How it is logged.
progression ProgressionRule Rule override.
reps Int! Reps, 0–500.
repsMax Int Range top.
restSec Int Rest override.
sets Int! Sets, 1–20.
supersetGroup String Superset group.
warmups Int Warm-up sets, 0–5.
weight Float Starting weight, kg.

Fields to change; omitted fields stay as they are.

Argument Type Description
accent String Accent colour key.
activeProfile ID Profile the library filters to; null shows everything.
bars JSON Bar weights in kg by bar type; null restores the standard bars.
bodyFigure BodyFigure Muscle map figure.
demoMinimized Boolean Minimise exercise animation during workouts.
effortScale EffortSetting Effort column.
equipmentProfiles [EquipmentProfileInput!] Every equipment profile (replaces the list); null removes them all.
homeBodyweight Boolean Show the body-weight card on Home.
keepAwake Boolean Keep the screen awake during workouts.
locale String UI language.
plates [Float!] Plate weights owned, kg; null restores the standard set.
reminderOn Boolean Workout-day reminder.
reminderTime String HH:MM.
restSec Int Default rest, 0–900 s.
restTimer Boolean Automatic rest timer after each set.
sessionStart SessionStart Where planned sessions take their numbers from.
sound Boolean Timer sounds.
targetWeight Float Body-weight goal in kg; null clears it.
theme Theme Theme.
timerFlash Boolean Flash the screen when a timer ends.
timezone String IANA timezone.
unit Unit Display unit.
weekStart WeekStart First day of the week.
workoutLayout WorkoutLayout Workout screen layout.

One exercise block.

Argument Type Description
exerciseId ID! Exercise.
mode SetMode! How it is logged.
note String Today’s note, up to 500 characters.
notePinned Boolean Show the note again next time.
sets [WorkoutSetInput!]! Sets.
skipProgression Boolean Leave this exercise out of progression.
supersetGroup String Superset group.

A whole workout; saving is idempotent by id.

Argument Type Description
bodyweight Float Body weight at the start, kg.
date Date! Calendar date.
exercises [WorkoutExerciseInput!]! Exercises.
finishedAt Timestamp Finish time; omit while running.
id ID! Client id.
name String! Name.
notes String Notes about the session, up to 2000 characters.
routineId ID Routine it came from.
skipProgression Boolean Exclude the entire session from progression.
startedAt Timestamp! Start time.

One set; weights in kg.

Argument Type Description
amrap Boolean AMRAP set.
done Boolean! Checked off.
durationSec Int Time held or cardio duration.
effort Float Effort rating.
effortScale EffortScale Scale of the rating.
kind SetKind Work (default), warm-up, drop set or rest-pause burst.
reps Int Reps.
repsLeft Int Left side reps (per-side logging).
repsRight Int Right side reps (per-side logging).
speed Float Cardio speed.
targetDurationSec Int Target hold.
targetReps Int Target reps.
targetWeight Float Target weight.
weight Float Load.