Skip to content
skcal
Esc
↑↓navigate↵open⌘Jpreview

Next workout

The active mesocycle’s next session due (the first week/day not yet completed) with its exercises, sets, targets, last week’s results, and feedback.

GET/api/training/current
Authorization
__Secure-better-auth.session_tokenAPI key · cookierequired

Better 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.

or
AuthorizationBearer token · headerrequired

Personal 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.

Responses
200

The next session, or active false when no mesocycle is running.

object
Try it
Server
Authorization
Request
curl -X GET 'https://app.skcal.fit/api/training/current' \
  -H 'Cookie: __Secure-better-auth.session_token=YOUR_API_KEY' \
  -H 'Accept: application/json'
Response
{
  "ok": true,
  "week": 2,
  "day": 1,
  "exerciseName": "Barbell Bench Press",
  "muscle": "chest"
}

Was this page helpful?