read_workout
Fetch one workout by id or date, returning each exercise with sets, weights, reps, RIR/RPE, notes, supersets, and volume so you can review or edit a session.
Instructions
One workout set by set, by id or by date, in the format write_update_workout takes back: each exercise with exerciseId, sets (weight, reps, done, rir and/or rpe, warmup, failure for a set taken to failure, max for a pyramid's Max set, drops for a drop set, clusters for rest-pause where reps is the total, left/right for a per-side set with each side's own rir/rpe, drops or clusters, sec for timed with side L/R for a hold done per side, min and speed in km/h for cardio with incline in %), note, superset, routineId; plus name, volume, bestWeight and weightMeans (a dumbbell weight logged per dumbbell: each, or both together: total) for reading, and other for fields openGym keeps that leap leaves alone. A workout from before ids has the id "YYYY-MM-DD|". A date with several workouts returns their ids to choose from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Workout id as read_workouts shows it (a workout from before ids: its day and start, "YYYY-MM-DD|<start>") | |
| date | No | Date YYYY-MM-DD (the profile’s local calendar day) |