> Docs index: https://movekit.com/llms.txt. HTML version: https://movekit.com/docs/api/get-an-exercise

# Get an exercise

Returns full metadata and asset details for one owned exercise, by id or slug.

- Method and path: `GET /v1/exercises/{id}`
- URL: `https://api.movekit.com/v1/exercises/{id}`
- Requires: Owned or sample content
- Authentication: `Authorization: Bearer $MOVEKIT_API_KEY`.
- Operation id: `getExercise`

An exercise the account does not own returns asset_not_licensed with purchase links.

## Rules

- With no key, the sample exercises are the owned ones.

## Path parameters

| Name | Type | Required | Default | Allowed | Example | Description |
| --- | --- | --- | --- | --- | --- | --- |
| `id` | string | yes |  |  | `75` | Exercise id or canonical slug. |

## Response 200

The owned exercise.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `data` | Exercise | yes | An exercise the account owns through a completed order: full metadata and its asset descriptors. |
| `data.id` | string | yes | Stable numeric-string exercise id. Use it as the cache key; slugs are aliases. |
| `data.slug` | string | yes | Canonical slug. Accepted anywhere an id is accepted. |
| `data.name` | string | yes | Display name. |
| `data.aliases` | array of string | yes | Other names for the exercise. |
| `data.secondaryMuscles` | array of string | yes | Supporting muscle groups. |
| `data.movementPattern` | array of string | yes | Movement patterns from the taxonomies. |
| `data.difficulty` | string | yes | Difficulty from the taxonomies. |
| `data.durationSeconds` | number | yes | Clip length in seconds, to two decimals. |
| `data.preview` | ExercisePreview | yes | Permanent watermarked previews for choosing exercises only, never for shipping. URLs use https://movekit.com/media/exercises/<slug>/video.mp4 and /poster.webp. |
| `data.preview.videoUrl` | string | yes | Public watermarked preview clip (video/mp4). |
| `data.preview.posterUrl` | string | yes | Public poster image shown with the preview. |
| `data.primaryMuscles` | array of string | yes | Primary muscle groups, as listed by GET /v1/taxonomies. |
| `data.equipment` | array of string | yes | Equipment, as listed by GET /v1/taxonomies. |
| `data.implementsNeeded` | integer \| null | yes | How many dumbbells or kettlebells the clip uses: 2 when it needs a matched pair (one in each hand), 1 when it uses one, null when the exercise uses neither. Use it to find moves for someone who owns one of each weight. One of `1`, `2`, `null`. |
| `data.access` | "licensed" | yes | Always licensed for an owned exercise. |
| `data.introducedAt` | string (date-time) | yes | When the exercise entered the catalog. Update windows are checked against this date. |
| `data.updatedAt` | string (date-time) | yes | When the media was last corrected. Never affects ownership. |
| `data.version` | string | yes | Current asset revision of the exercise. |
| `data.description` | string | yes | One-paragraph description of the movement. |
| `data.instructions` | array of string | yes | Coaching steps, in order. |
| `data.commonMistakes` | array of string | yes | Mistakes to avoid. |
| `data.assets` | array of Asset | yes | The video, then its poster. Empty until the media has been exported for API delivery. |
| `data.assets[].id` | string | yes | Asset id; pass it to the deliveries endpoints. |
| `data.assets[].version` | string | yes | The asset revision. Changes only when the media is corrected; it never affects ownership. |
| `data.assets[].sha256` | string | yes | Hex SHA-256 of the full file. Verify every import against it. |
| `data.assets[].bytes` | integer | yes | Size of the full file in bytes. |
| `data.assets[].mediaType` | string | yes | video/mp4 for the video; image/jpeg, image/webp or image/png for the poster, as sniffed from its bytes. One of `video/mp4`, `image/jpeg`, `image/webp`, `image/png`. |
| `meta` | Meta | yes | Present on every successful response. |
| `meta.requestId` | string | yes | Quote this id when contacting support. Also sent as the X-Request-Id header. |
| `meta.catalogRevision` | string | yes | SHA-256 over the published catalog. Changes when the catalog is redeployed; cursors are bound to it. |
| `meta.account` | string | no | sample when the request carried no API key: it was answered as the sample account. On a page of GET /v1/exercises answered with a key, acct_ and 16 hexadecimal characters: an opaque id of the account the key belongs to, made at random the first time the account lists exercises and never changed, the same for every key of that account and on every request, so an importer can tell a key of another account. It is not the account's internal id and says nothing about it. |
| `meta.sample` | SampleFacts | no | Present with account: sample. What the sample account holds and where the rest of the catalog can be bought. |
| `meta.sample.exercises` | integer | yes | Exercises the sample account owns. |
| `meta.sample.catalogueTotal` | integer | yes | Published exercises in the catalog. |
| `meta.sample.packsUrl` | string | yes | The packs page. A key from any purchase answers with what that account owns. |

## Errors

| Status | Codes | Meaning |
| --- | --- | --- |
| 400 | `invalid_request` | Invalid request or cursor. |
| 401 | `invalid_api_key`, `authentication_required` | The key sent is not a live API key, or this route needs one. A request with no Authorization header is answered as the sample account where the route allows it. |
| 403 | `asset_not_licensed`, `purchase_required` | A purchase or ownership of the requested exercise is required. |
| 404 | `not_found` | The route or exercise was not found. |
| 405 | `method_not_allowed` | Use a supported HTTP method. |
| 429 | `rate_limit_exceeded` | About 120 requests a minute per account. Wait for Retry-After before retrying. |
| 500 | `internal_error` | Unexpected failure. Contact support with requestId if it persists. |
| 503 | `api_disabled`, `api_unavailable` | Temporarily unavailable. Retry later. |

## Example request

cURL:

```bash
curl --fail-with-body -sS \
  -H "Authorization: Bearer $MOVEKIT_API_KEY" \
  "https://api.movekit.com/v1/exercises/75"
```

JavaScript:

```javascript
// Node 20 or newer: save as request.mjs and run node request.mjs
const response = await fetch("https://api.movekit.com/v1/exercises/75", {
  headers: {
    Authorization: `Bearer ${process.env.MOVEKIT_API_KEY}`,
  },
})
const body = await response.json()
if (!response.ok) throw new Error(`${response.status} ${body.error.code}: ${body.error.nextAction}`)
console.log(body.data)
```

Python:

```python
import json
import os
import urllib.error
import urllib.request

request = urllib.request.Request(
    "https://api.movekit.com/v1/exercises/75",
    method="GET",
    headers={
        "User-Agent": "movekit-docs-example/1",
        "Authorization": f"Bearer {os.environ['MOVEKIT_API_KEY']}",
    },
)
try:
    with urllib.request.urlopen(request) as response:
        print(json.dumps(json.load(response), indent=2))
except urllib.error.HTTPError as error:
    print(error.code, error.read().decode())
```

## Example response 200

```json
{
  "data": {
    "aliases": [
      "Standing Cable Row",
      "Standing Neutral-Grip Cable Row",
      "Standing Dual-Handle Cable Row",
      "Two-Handle Standing Cable Row"
    ],
    "implementsNeeded": null,
    "secondaryMuscles": [
      "Biceps"
    ],
    "movementPattern": [
      "Pull"
    ],
    "difficulty": "beginner",
    "durationSeconds": 5.8,
    "preview": {
      "videoUrl": "https://movekit.com/media/exercises/cable-row-bar-standing-row/video.mp4",
      "posterUrl": "https://movekit.com/media/exercises/cable-row-bar-standing-row/poster.webp"
    },
    "id": "75",
    "slug": "cable-row-bar-standing-row",
    "name": "Cable Row Bar Standing Row",
    "primaryMuscles": [
      "Back"
    ],
    "equipment": [
      "Cable Machine"
    ],
    "access": "licensed",
    "introducedAt": "2026-04-16T17:10:13.152Z",
    "updatedAt": "2026-10-04T19:56:58.073Z",
    "version": "golden-release-20261004:ae121e3065d855ff190bcdbe66cc267172046f2ec09f9d189f8007bbf49b715d",
    "description": "A standing cable row using a paired neutral-grip handle to pull toward the torso while the feet stay planted.",
    "instructions": [
      "Attach a paired neutral-grip row handle and set the pulley so the cable runs toward your mid-torso.",
      "Hold the upright grips with your palms facing each other and step back until the cable is taut.",
      "Stand with both feet planted and brace your trunk.",
      "Pull the handle toward your torso, moving your elbows back alongside your body.",
      "Return the handle smoothly as your arms extend.",
      "Repeat while keeping your stance steady and avoiding a large backward lean."
    ],
    "commonMistakes": [
      "Leaning far backward to move the handle.",
      "Shrugging the shoulders throughout the pull.",
      "Letting the cable pull the arms forward abruptly.",
      "Changing the grip or attachment so the setup no longer matches the demonstration."
    ],
    "assets": [
      {
        "id": "ex75-video",
        "version": "golden-release-20261004:ae121e3065d855ff190bcdbe66cc267172046f2ec09f9d189f8007bbf49b715d",
        "sha256": "d74cedbbfbc4d6d93afd73cbbf4ca7e6d4ef1d876d12be14913c617974ba8109",
        "bytes": 1843302,
        "mediaType": "video/mp4"
      },
      {
        "id": "ex75-poster",
        "version": "golden-release-20261004:ae121e3065d855ff190bcdbe66cc267172046f2ec09f9d189f8007bbf49b715d",
        "sha256": "4971144f130907a9eb898ef7b10109b60f4c572c40e41358a053dba24836d0f4",
        "bytes": 321332,
        "mediaType": "image/webp"
      }
    ]
  },
  "meta": {
    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
    "catalogRevision": "3c79fc18685650e43beb1ccdd0e1f70cef31a5b643b033160e779684f9cfc869"
  }
}
```

## Example response 400

```json
{
  "error": {
    "code": "invalid_request",
    "message": "Unsupported or repeated query parameter.",
    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
    "retryable": false,
    "nextAction": "Correct the request using the OpenAPI document."
  }
}
```

## Example response 401

```json
{
  "error": {
    "code": "invalid_api_key",
    "message": "The API key is invalid or revoked.",
    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
    "retryable": false,
    "nextAction": "Use a valid live API key."
  }
}
```

## Example response 403

```json
{
  "error": {
    "code": "asset_not_licensed",
    "message": "Your pack license does not include this exercise.",
    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
    "retryable": false,
    "nextAction": "Use an owned exercise, or buy this one: error.purchase lists its public page and the packs that contain it.",
    "purchase": {
      "exerciseUrl": "https://movekit.com/exercises/barbell-squat",
      "packs": [
        {
          "id": "pack-12",
          "name": "Complete Pack",
          "url": "https://movekit.com/packs#complete-exercise-library"
        },
        {
          "id": "pack-11",
          "name": "Gym Pack",
          "url": "https://movekit.com/packs#gym-app-library"
        }
      ]
    }
  }
}
```

## Example response 404

```json
{
  "error": {
    "code": "not_found",
    "message": "Exercise not found.",
    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
    "retryable": false,
    "nextAction": "Choose an exercise ID from the catalog."
  }
}
```

## Example response 405

```json
{
  "error": {
    "code": "method_not_allowed",
    "message": "This method is not supported for this route.",
    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
    "retryable": false,
    "nextAction": "Read the OpenAPI document for the supported method."
  }
}
```

## Example response 429

```json
{
  "error": {
    "code": "rate_limit_exceeded",
    "message": "The tenant request rate is exhausted.",
    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
    "retryable": true,
    "nextAction": "Wait for Retry-After, then retry with jitter."
  }
}
```

## Example response 500

```json
{
  "error": {
    "code": "internal_error",
    "message": "The request could not be completed.",
    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
    "retryable": false,
    "nextAction": "Retry once with jitter; if it persists contact support with the request id."
  }
}
```

## Example response 503

```json
{
  "error": {
    "code": "api_disabled",
    "message": "The API is temporarily disabled.",
    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
    "retryable": true,
    "nextAction": "Retry later. Purchases-page downloads remain available."
  }
}
```

## OpenAPI

The operation and every component it references, from the OpenAPI document.

```json
{
  "openapi": "3.1.2",
  "info": {
    "title": "MoveKit API",
    "version": "1.1.0"
  },
  "servers": [
    {
      "url": "https://api.movekit.com/v1",
      "description": "Control plane (MOVEKIT_API_BASE_URL). Paths below are relative to this URL."
    }
  ],
  "security": [
    {
      "ApiKey": []
    }
  ],
  "paths": {
    "/exercises/{id}": {
      "get": {
        "operationId": "getExercise",
        "tags": [
          "Exercises"
        ],
        "summary": "Get an exercise",
        "description": "Returns full metadata and asset details for one owned exercise, by id or slug. An exercise the account does not own returns asset_not_licensed with purchase links.",
        "x-movekit-requires": "owned-asset",
        "x-movekit-notes": [
          "With no key, the sample exercises are the owned ones."
        ],
        "security": [
          {},
          {
            "ApiKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ExerciseId"
          }
        ],
        "responses": {
          "200": {
            "description": "The owned exercise.",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExerciseResponse"
                },
                "example": {
                  "data": {
                    "aliases": [
                      "Standing Cable Row",
                      "Standing Neutral-Grip Cable Row",
                      "Standing Dual-Handle Cable Row",
                      "Two-Handle Standing Cable Row"
                    ],
                    "implementsNeeded": null,
                    "secondaryMuscles": [
                      "Biceps"
                    ],
                    "movementPattern": [
                      "Pull"
                    ],
                    "difficulty": "beginner",
                    "durationSeconds": 5.8,
                    "preview": {
                      "videoUrl": "https://movekit.com/media/exercises/cable-row-bar-standing-row/video.mp4",
                      "posterUrl": "https://movekit.com/media/exercises/cable-row-bar-standing-row/poster.webp"
                    },
                    "id": "75",
                    "slug": "cable-row-bar-standing-row",
                    "name": "Cable Row Bar Standing Row",
                    "primaryMuscles": [
                      "Back"
                    ],
                    "equipment": [
                      "Cable Machine"
                    ],
                    "access": "licensed",
                    "introducedAt": "2026-04-16T17:10:13.152Z",
                    "updatedAt": "2026-10-04T19:56:58.073Z",
                    "version": "golden-release-20261004:ae121e3065d855ff190bcdbe66cc267172046f2ec09f9d189f8007bbf49b715d",
                    "description": "A standing cable row using a paired neutral-grip handle to pull toward the torso while the feet stay planted.",
                    "instructions": [
                      "Attach a paired neutral-grip row handle and set the pulley so the cable runs toward your mid-torso.",
                      "Hold the upright grips with your palms facing each other and step back until the cable is taut.",
                      "Stand with both feet planted and brace your trunk.",
                      "Pull the handle toward your torso, moving your elbows back alongside your body.",
                      "Return the handle smoothly as your arms extend.",
                      "Repeat while keeping your stance steady and avoiding a large backward lean."
                    ],
                    "commonMistakes": [
                      "Leaning far backward to move the handle.",
                      "Shrugging the shoulders throughout the pull.",
                      "Letting the cable pull the arms forward abruptly.",
                      "Changing the grip or attachment so the setup no longer matches the demonstration."
                    ],
                    "assets": [
                      {
                        "id": "ex75-video",
                        "version": "golden-release-20261004:ae121e3065d855ff190bcdbe66cc267172046f2ec09f9d189f8007bbf49b715d",
                        "sha256": "d74cedbbfbc4d6d93afd73cbbf4ca7e6d4ef1d876d12be14913c617974ba8109",
                        "bytes": 1843302,
                        "mediaType": "video/mp4"
                      },
                      {
                        "id": "ex75-poster",
                        "version": "golden-release-20261004:ae121e3065d855ff190bcdbe66cc267172046f2ec09f9d189f8007bbf49b715d",
                        "sha256": "4971144f130907a9eb898ef7b10109b60f4c572c40e41358a053dba24836d0f4",
                        "bytes": 321332,
                        "mediaType": "image/webp"
                      }
                    ]
                  },
                  "meta": {
                    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
                    "catalogRevision": "3c79fc18685650e43beb1ccdd0e1f70cef31a5b643b033160e779684f9cfc869"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request or cursor.",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "invalid_request",
                    "message": "Unsupported or repeated query parameter.",
                    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
                    "retryable": false,
                    "nextAction": "Correct the request using the OpenAPI document."
                  }
                }
              }
            },
            "x-movekit-codes": [
              "invalid_request"
            ]
          },
          "401": {
            "description": "The key sent is not a live API key, or this route needs one. A request with no Authorization header is answered as the sample account where the route allows it.",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "invalid_api_key",
                    "message": "The API key is invalid or revoked.",
                    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
                    "retryable": false,
                    "nextAction": "Use a valid live API key."
                  }
                }
              }
            },
            "x-movekit-codes": [
              "invalid_api_key",
              "authentication_required"
            ]
          },
          "403": {
            "description": "A purchase or ownership of the requested exercise is required.",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "asset_not_licensed",
                    "message": "Your pack license does not include this exercise.",
                    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
                    "retryable": false,
                    "nextAction": "Use an owned exercise, or buy this one: error.purchase lists its public page and the packs that contain it.",
                    "purchase": {
                      "exerciseUrl": "https://movekit.com/exercises/barbell-squat",
                      "packs": [
                        {
                          "id": "pack-12",
                          "name": "Complete Pack",
                          "url": "https://movekit.com/packs#complete-exercise-library"
                        },
                        {
                          "id": "pack-11",
                          "name": "Gym Pack",
                          "url": "https://movekit.com/packs#gym-app-library"
                        }
                      ]
                    }
                  }
                }
              }
            },
            "x-movekit-codes": [
              "asset_not_licensed",
              "purchase_required"
            ]
          },
          "404": {
            "description": "The route or exercise was not found.",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "not_found",
                    "message": "Exercise not found.",
                    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
                    "retryable": false,
                    "nextAction": "Choose an exercise ID from the catalog."
                  }
                }
              }
            },
            "x-movekit-codes": [
              "not_found"
            ]
          },
          "405": {
            "description": "Use a supported HTTP method.",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "Allow": {
                "$ref": "#/components/headers/Allow"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "method_not_allowed",
                    "message": "This method is not supported for this route.",
                    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
                    "retryable": false,
                    "nextAction": "Read the OpenAPI document for the supported method."
                  }
                }
              }
            },
            "x-movekit-codes": [
              "method_not_allowed"
            ]
          },
          "429": {
            "description": "About 120 requests a minute per account. Wait for Retry-After before retrying.",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "rate_limit_exceeded",
                    "message": "The tenant request rate is exhausted.",
                    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
                    "retryable": true,
                    "nextAction": "Wait for Retry-After, then retry with jitter."
                  }
                }
              }
            },
            "x-movekit-codes": [
              "rate_limit_exceeded"
            ]
          },
          "500": {
            "description": "Unexpected failure. Contact support with requestId if it persists.",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "internal_error",
                    "message": "The request could not be completed.",
                    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
                    "retryable": false,
                    "nextAction": "Retry once with jitter; if it persists contact support with the request id."
                  }
                }
              }
            },
            "x-movekit-codes": [
              "internal_error"
            ]
          },
          "503": {
            "description": "Temporarily unavailable. Retry later.",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "error": {
                    "code": "api_disabled",
                    "message": "The API is temporarily disabled.",
                    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
                    "retryable": true,
                    "nextAction": "Retry later. Purchases-page downloads remain available."
                  }
                }
              }
            },
            "x-movekit-codes": [
              "api_disabled",
              "api_unavailable"
            ]
          }
        }
      },
      "x-plane": "control"
    }
  },
  "components": {
    "headers": {
      "Allow": {
        "description": "Supported methods for the route.",
        "schema": {
          "type": "string"
        },
        "example": "GET"
      },
      "Retry-After": {
        "description": "Seconds to wait before retrying.",
        "schema": {
          "type": "integer"
        },
        "example": 30
      },
      "X-RateLimit-Limit": {
        "description": "Authenticated attempts allowed per 60-second window for the account.",
        "schema": {
          "type": "integer"
        },
        "example": 120
      },
      "X-RateLimit-Remaining": {
        "description": "Attempts left in the current window.",
        "schema": {
          "type": "integer"
        },
        "example": 117
      },
      "X-Request-Id": {
        "description": "Correlation id for support. Present on every response.",
        "required": true,
        "schema": {
          "type": "string"
        },
        "example": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70"
      }
    },
    "parameters": {
      "ExerciseId": {
        "name": "id",
        "in": "path",
        "required": true,
        "description": "Exercise id or canonical slug.",
        "schema": {
          "type": "string",
          "minLength": 1
        },
        "example": "75"
      }
    },
    "schemas": {
      "Asset": {
        "type": "object",
        "description": "One deliverable media file of an owned exercise. Clips are landscape 16:9 loops: `ex<id>-video` (video/mp4) or `ex<id>-poster` (the exact first frame of the video, lossless image/webp). `id`, `version` and `sha256` are immutable: a corrected file is published under a new version.",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^ex[0-9]+-(?:video|poster)$",
            "description": "Asset id; pass it to the deliveries endpoints."
          },
          "version": {
            "type": "string",
            "description": "The asset revision. Changes only when the media is corrected; it never affects ownership."
          },
          "sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "description": "Hex SHA-256 of the full file. Verify every import against it."
          },
          "bytes": {
            "type": "integer",
            "minimum": 0,
            "description": "Size of the full file in bytes."
          },
          "mediaType": {
            "type": "string",
            "enum": [
              "video/mp4",
              "image/jpeg",
              "image/webp",
              "image/png"
            ],
            "description": "video/mp4 for the video; image/jpeg, image/webp or image/png for the poster, as sniffed from its bytes."
          }
        },
        "required": [
          "id",
          "version",
          "sha256",
          "bytes",
          "mediaType"
        ],
        "additionalProperties": false
      },
      "Error": {
        "type": "object",
        "description": "Every failure. Branch on `code`; `message` and `nextAction` are for humans and may change.",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "$ref": "#/components/schemas/ErrorCode"
              },
              "message": {
                "type": "string",
                "description": "What went wrong."
              },
              "requestId": {
                "type": "string",
                "description": "Equals the X-Request-Id header. Quote it to support."
              },
              "retryable": {
                "type": "boolean",
                "description": "True when the same request may succeed later without a change. Honour Retry-After when present."
              },
              "nextAction": {
                "type": "string",
                "description": "What to do next."
              },
              "purchase": {
                "$ref": "#/components/schemas/PurchaseLinks",
                "description": "Only with asset_not_licensed: where to buy the refused exercise."
              },
              "assetId": {
                "type": "string",
                "description": "Only with link_limit_exceeded: the asset whose download links for today are used up. Request the other files without it."
              }
            },
            "required": [
              "code",
              "message",
              "requestId",
              "retryable",
              "nextAction"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "error"
        ],
        "additionalProperties": false
      },
      "ErrorCode": {
        "type": "string",
        "enum": [
          "invalid_request",
          "cursor_invalid",
          "authentication_required",
          "invalid_api_key",
          "insufficient_scope",
          "purchase_required",
          "asset_not_licensed",
          "not_found",
          "method_not_allowed",
          "payload_too_large",
          "unsupported_media_type",
          "rate_limit_exceeded",
          "sample_busy",
          "link_limit_exceeded",
          "api_unavailable",
          "api_disabled",
          "delivery_unavailable",
          "asset_not_available",
          "internal_error"
        ],
        "description": "Stable, machine-readable error code. Branch on it."
      },
      "Exercise": {
        "type": "object",
        "description": "An exercise the account owns through a completed order: full metadata and its asset descriptors.",
        "properties": {
          "id": {
            "type": "string",
            "description": "Stable numeric-string exercise id. Use it as the cache key; slugs are aliases."
          },
          "slug": {
            "type": "string",
            "description": "Canonical slug. Accepted anywhere an id is accepted."
          },
          "name": {
            "type": "string",
            "description": "Display name."
          },
          "aliases": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Other names for the exercise."
          },
          "secondaryMuscles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Supporting muscle groups."
          },
          "movementPattern": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Movement patterns from the taxonomies."
          },
          "difficulty": {
            "type": "string",
            "description": "Difficulty from the taxonomies."
          },
          "durationSeconds": {
            "type": "number",
            "minimum": 0,
            "description": "Clip length in seconds, to two decimals."
          },
          "preview": {
            "$ref": "#/components/schemas/ExercisePreview"
          },
          "primaryMuscles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Primary muscle groups, as listed by GET /v1/taxonomies."
          },
          "equipment": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Equipment, as listed by GET /v1/taxonomies."
          },
          "implementsNeeded": {
            "type": [
              "integer",
              "null"
            ],
            "enum": [
              1,
              2,
              null
            ],
            "description": "How many dumbbells or kettlebells the clip uses: 2 when it needs a matched pair (one in each hand), 1 when it uses one, null when the exercise uses neither. Use it to find moves for someone who owns one of each weight."
          },
          "access": {
            "const": "licensed",
            "description": "Always licensed for an owned exercise."
          },
          "introducedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the exercise entered the catalog. Update windows are checked against this date."
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the media was last corrected. Never affects ownership."
          },
          "version": {
            "type": "string",
            "description": "Current asset revision of the exercise."
          },
          "description": {
            "type": "string",
            "description": "One-paragraph description of the movement."
          },
          "instructions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Coaching steps, in order."
          },
          "commonMistakes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Mistakes to avoid."
          },
          "assets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Asset"
            },
            "maxItems": 2,
            "description": "The video, then its poster. Empty until the media has been exported for API delivery."
          }
        },
        "required": [
          "id",
          "slug",
          "name",
          "aliases",
          "primaryMuscles",
          "secondaryMuscles",
          "equipment",
          "implementsNeeded",
          "movementPattern",
          "difficulty",
          "durationSeconds",
          "preview",
          "access",
          "introducedAt",
          "updatedAt",
          "version",
          "description",
          "instructions",
          "commonMistakes",
          "assets"
        ],
        "additionalProperties": false
      },
      "ExercisePreview": {
        "type": "object",
        "description": "Permanent watermarked previews for choosing exercises only, never for shipping. URLs use https://movekit.com/media/exercises/<slug>/video.mp4 and /poster.webp.",
        "properties": {
          "videoUrl": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://",
            "description": "Public watermarked preview clip (video/mp4)."
          },
          "posterUrl": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://",
            "description": "Public poster image shown with the preview."
          }
        },
        "required": [
          "videoUrl",
          "posterUrl"
        ],
        "additionalProperties": false
      },
      "ExerciseResponse": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Exercise"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "additionalProperties": false
      },
      "Meta": {
        "type": "object",
        "description": "Present on every successful response.",
        "properties": {
          "requestId": {
            "type": "string",
            "description": "Quote this id when contacting support. Also sent as the X-Request-Id header."
          },
          "catalogRevision": {
            "type": "string",
            "description": "SHA-256 over the published catalog. Changes when the catalog is redeployed; cursors are bound to it."
          },
          "account": {
            "type": "string",
            "pattern": "^(?:sample|acct_[0-9a-f]{16})$",
            "description": "sample when the request carried no API key: it was answered as the sample account. On a page of GET /v1/exercises answered with a key, acct_ and 16 hexadecimal characters: an opaque id of the account the key belongs to, made at random the first time the account lists exercises and never changed, the same for every key of that account and on every request, so an importer can tell a key of another account. It is not the account's internal id and says nothing about it."
          },
          "sample": {
            "$ref": "#/components/schemas/SampleFacts"
          }
        },
        "required": [
          "requestId",
          "catalogRevision"
        ],
        "additionalProperties": false
      },
      "PurchaseLinks": {
        "type": "object",
        "description": "Where to buy an exercise. Never a price: prices are adaptive per country, so link to the page that shows them.",
        "properties": {
          "exerciseUrl": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://",
            "description": "The exercise's public page, where it can be bought on its own."
          },
          "packs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PurchasePack"
            },
            "description": "The packs on sale that contain the exercise, in packs-page order."
          }
        },
        "required": [
          "exerciseUrl",
          "packs"
        ],
        "additionalProperties": false
      },
      "PurchasePack": {
        "type": "object",
        "description": "A pack on sale today that contains the exercise.",
        "properties": {
          "id": {
            "type": "string",
            "description": "Purchased pack id."
          },
          "name": {
            "type": "string",
            "description": "Display name."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://",
            "description": "The pack on the public packs page."
          }
        },
        "required": [
          "id",
          "name",
          "url"
        ],
        "additionalProperties": false
      },
      "SampleFacts": {
        "type": "object",
        "description": "Present with account: sample. What the sample account holds and where the rest of the catalog can be bought.",
        "properties": {
          "exercises": {
            "type": "integer",
            "minimum": 0,
            "description": "Exercises the sample account owns."
          },
          "catalogueTotal": {
            "type": "integer",
            "minimum": 0,
            "description": "Published exercises in the catalog."
          },
          "packsUrl": {
            "type": "string",
            "format": "uri",
            "description": "The packs page. A key from any purchase answers with what that account owns."
          }
        },
        "required": [
          "exercises",
          "catalogueTotal",
          "packsUrl"
        ],
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "mk_live_ API key",
        "description": "Send Authorization: Bearer with a key from your purchases page. Keep keys in your terminal or CI, never in an app. Leave the header out to be answered as the sample account."
      }
    }
  }
}
```
