Add an exercise to a day
Adds an exercise slot to a training day for the rest of the mesocycle, with starting sets in every planned week of that day not yet completed.
/api/training/days/{id}/slots__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.
idstringrequiredIdentifier of the mesocycle, training day, set, slot, or custom exercise the path names.
application/jsonThe exercise to add.
musclestringMuscle key (inferred from the exercise when omitted).
exerciseIdstringLibrary id of the exercise to add.
exerciseNamestringName of the exercise to add, matched against the library when no id is given.
positionintegerOrder within the day (default last). Only used when adding to an existing day.
The new slot.
objectThe request body or parameters failed validation.
errorstringrequiredHuman-readable failure reason.
detailstringOptional extra context, present on upstream failures.
No matching resource owned by the caller.
errorstringrequiredHuman-readable failure reason.
detailstringOptional extra context, present on upstream failures.