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

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

GET/api/training/library
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.

Query parameters
musclestring

Only return exercises for this muscle key.

Responses
200

The library.

musclesobject[]required

Muscle groups with weekly hard-set landmarks (MV, MEV, MAV range, MRV) and default reps.

equipmentstring[]required

Equipment types.

templatesobject[]required

Split templates usable as the template field when creating a mesocycle.

feedbackScalesobjectrequired

Answers for each feedback question, by index.

exercisesobject[]required

Built-in and custom exercises.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://app.skcal.fit/api/training/library' \
  -H 'Cookie: __Secure-better-auth.session_token=YOUR_API_KEY' \
  -H 'Accept: application/json'
Response
{
  "muscles": [
    {
      "key": "chest",
      "label": "Chest",
      "mv": 4,
      "mev": 6,
      "mavLow": 12,
      "mavHigh": 20,
      "mrv": 22
    }
  ],
  "equipment": [
    "barbell",
    "dumbbell",
    "machine"
  ],
  "templates": [
    {
      "key": "upper_lower_4",
      "name": "Upper / Lower",
      "days": [
        {
          "label": "Upper A",
          "muscles": [
            "chest",
            "back"
          ]
        }
      ]
    }
  ],
  "feedbackScales": {
    "pump": [
      "Low pump",
      "Moderate pump",
      "Amazing pump"
    ]
  },
  "exercises": [
    {
      "id": "barbell_bench_press",
      "name": "Barbell Bench Press",
      "muscle": "chest",
      "equipment": "barbell",
      "videoUrl": null,
      "custom": false
    }
  ]
}

Was this page helpful?