Training library
Everything needed to build a mesocycle: muscle groups with their weekly volume landmarks (MV, MEV, MAV, MRV hard sets), equipment types, split templates, the feedback questions and answers, and the exercise library (built-in plus the caller’s own exercises).
/api/training/library__Secure-better-auth.session_tokenAPI key · cookierequiredBetter Auth session. Signing in (Google or email magic link) sets an HttpOnly session cookie that scopes every request to that account. The web app and CLI use this; agents use the OAuth 2.1 flow of the MCP server.
AuthorizationBearer token · headerrequiredPersonal API key sent as Authorization: Bearer skcal_…. Create and scope keys in the app under your profile → API keys. Keys default to full access; a scoped key is limited to its granted resource:action permissions and cannot manage other keys.
musclestringOnly return exercises for this muscle key.
The library.
musclesobject[]requiredMuscle groups with weekly hard-set landmarks (MV, MEV, MAV range, MRV) and default reps.
equipmentstring[]requiredEquipment types.
templatesobject[]requiredSplit templates usable as the template field when creating a mesocycle.
feedbackScalesobjectrequiredAnswers for each feedback question, by index.
exercisesobject[]requiredBuilt-in and custom exercises.