Browse API Reference

Get a muscle

Return one muscle record by stable id, including the artwork views that can highlight it.

Read one record when an exercise already stores a muscle id and the interface needs its label, region, or available artwork views.

GET https://api.gymassets.dev/v1/muscles/{id}
cURL
curl 'https://api.gymassets.dev/v1/muscles/lats' \
  -H "Authorization: Bearer $GA_SECRET_KEY"
Response · application/json 200
{
  "id": "lats",
  "label": "Lats",
  "latin": "latissimus dorsi",
  "region": "back",
  "drawn": [
    { "figure": "female", "side": "back" },
    { "figure": "male", "side": "back" }
  ]
}

The member is returned directly rather than inside data. An optional field is omitted when no value is established. It is never returned as null.

Errors

An unknown id returns 404 not_found.