Update training profile
update_profileChanges- What it does
- Changes or deletes something you had. Your assistant can ask you to confirm first. Safe to retry: the same call twice changes nothing more.
- Permission
- Profile, change
profile:write
What your assistant is told
Update one or more fields on the calling user's Fitness profile. Sparse patch — only pass fields you want to change; omitted fields are left alone. Idempotent. Use this when the user tells you something durable about their training ("I switched to a home gym", "my left shoulder is bothering me", "let's aim for 4 sessions a week now"). Do NOT use this to log bodyweight or single workouts — those have their own tools. Listed fields accept only the values shown; a value outside a list or range rejects the whole call (nothing is saved) with an error naming the field. Returns the profile after the patch.
Parameters
primaryGoaltext, optionalbuild-muscle | get-stronger | stay-healthy | lose-fat | unsureexperiencetext, optionalnew | returning | intermediate | advancedsessionsPerWeektext, optional1-2 | 3-4 | 5+sessionLengthMintext, optional<30 | 30-45 | 45-60 | 60+trainingContexttext, optionalhome-bodyweight | home-dumbbells | home-full | commercial-gym | mixedunitstext, optionalkg | lbsextext, optionalmale | female | prefer-notbirthYearwhole number, optionalFour-digit year, e.g. 1990. Loki Fitness is for people aged 16 and over, so the year must be at least 17 years ago.heightCmwhole number, optionalHeight in whole centimetres, e.g. 178. 50-300.limitationstext, optionalFree text for injuries, joints to avoid, movement restrictions. Replace the whole note when set. At most 2000 characters.