> ## Documentation Index
> Fetch the complete documentation index at: https://docs.technicallyfit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Movements

> What a movement in the TechnicallyFit catalog says about itself: the equipment it needs, the alternatives it accepts, how it loads the two sides and the joints it loads.

A movement is one entry in the catalog: a back squat, a lat pulldown, a tempo run. The
exercise endpoints return movements, and every movement says what it needs and what it
loads in the same fields.

This page explains the fields that take more than a name to read. The endpoint pages list
every field.

## What every movement says

| Field | What it holds |
| - | - |
| `equipment` | Everything the movement uses, as [equipment tokens](https://docs.technicallyfit.com/reference/equipment.md). Never empty: a movement that needs nothing lists `bodyweight`. |
| `equipment_any_of` | Groups of alternatives inside `equipment`. Empty when every token is needed. |
| `load_type` | How the movement loads the two sides: `bilateral`, `unilateral` or `alternating`. |
| `joints_loaded` | The joints the movement loads, such as `knee` and `hip`. A joint is named without a side. |
| `muscles_primary`, `muscles_secondary` | The muscles the movement trains most, then the ones that help. |
| `pattern` | The kind of movement, such as `squat`, `hinge` or `pull_vertical`. |
| `skill_level` | `beginner`, `intermediate` or `advanced`. |

## Reading the equipment

`equipment` is a list where every token is needed. A back squat with `barbell` and
`squat_rack` needs both.

Some movements can be done with one piece of equipment or another. `equipment_any_of`
names those choices as groups. One token from each group is enough, and every token
outside a group is still needed. Each group holds two or more tokens, and each of them is
also in `equipment`, so `equipment` is always the full list of what the movement can use.

| `equipment` | `equipment_any_of` | Needs |
| - | - | - |
| `["barbell", "squat_rack"]` | `[]` | A barbell and a squat rack. |
| `["cable", "lat_pulldown"]` | `[["cable", "lat_pulldown"]]` | A cable or a lat pulldown machine. |
| `["bench", "dumbbell", "kettlebell"]` | `[["dumbbell", "kettlebell"]]` | A bench, and dumbbells or kettlebells. |
| `["bodyweight"]` | `[]` | Nothing. |

`bodyweight` is always available, so a group that holds it is always met.

A movement names the specific piece of equipment it uses, such as `leg_press` or
`smith_machine`. A few movements still carry the general `machine` token, because the
[equipment list](https://docs.technicallyfit.com/reference/equipment.md) has no token for their machine yet. The general
token and a specific machine stand in for each other, as the equipment page explains, so
these movements are read the same way as the rest.

### Checking a movement against what someone has

To decide whether a person can do a movement with the equipment they have:

1. Take every token in `equipment` that is in no group. The person needs each of them.
2. For each group in `equipment_any_of`, the person needs one token from the group.
3. Compare tokens the way the [equipment page](https://docs.technicallyfit.com/reference/equipment.md) describes, so that
   other spellings and the general `machine` token are read correctly.

## Sides

`joints_loaded` names joints without a side: `knee`, never a left or a right knee. Which
side takes the load comes from `load_type`.

| `load_type` | What it means |
| - | - |
| `bilateral` | Both sides work together, as in a back squat. |
| `unilateral` | One side works at a time, as in a single leg press. |
| `alternating` | The sides take turns from one repetition to the next, as in an alternating curl. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.