# EXERCISE (optional)

Real-time endpoint:

```
https://app.posetracker.com/pose_tracker/tracking?token=YOUR_API_KEY&exercise=squat
```

Upload endpoint:

```
https://app.posetracker.com/pose_tracker/upload_tracking?token=YOUR_API_KEY&exercise=squat
```

> For upload tracking, `exercise` is mainly relevant in `source=video` mode (movement tracking). For `source=image`, you can omit it.

***

### Exercise keys

#### Repetition (dynamic)

`squat`, `push_up`, `lunge`, `side_lunge`, `deadlift`, `bicep_curl`, `hammer_curl`, `tricep_dip`, `shoulder_press`, `lateral_raise`, `glute_bridge`, `calf_raise`, `mountain_climber`, `high_knees`, `jumping_jack`, `leg_raise`, `low_impact_jack`

#### Duration (static)

`plank`, `wall_sit`, `balance_leg`, `balance_leg_left`, `balance_leg_right`

#### Custom

`jump_analysis`, `air_time_jump`

***

### Legacy aliases (still accepted)

* `face_squat` → `squat`
* `face_pushup` → `push_up`

If you currently use older exercise keys, migrate to the V3 keys above.

***

### What exercise changes

The selected exercise controls:

* placement requirements (`type: "posture"`)
* counting logic (`type: "counter"`)
* optional: progression, recommendations, form\_score
* custom flows (jump calibration + jump results)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://posetracker.gitbook.io/posetracker-api/use-posetracker-on-real-time-camera-webcam/query-params-details/exercise-optional.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
