A workout entry in GymFlow captures a single set of an exercise: how many reps you performed, how many sets you completed, how much weight you lifted, and any free-text notes you want to keep. You can create an entry in two places — from the exercise library card modal or from the history view — and edit or delete it any time afterward.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Lokhy87/gymApp/llms.txt
Use this file to discover all available pages before exploring further.
Logging a new workout
Open an exercise
From the home screen, choose a muscle group and click any exercise card. The quick-log modal opens with default values of 3 sets, 10 reps, and 0 kg.
Fill in your numbers
Adjust the Weight (kg), Repetitions, and Sets fields to match what you actually did. All three are required; weight must be zero or greater.
Add an optional note
Use the Notes field to record anything useful — form cues, fatigue level, equipment used. This field is optional and accepts free text.
POST /api/workouts
| Field | Type | Required | Description |
|---|---|---|---|
exercise_id | integer | Yes | ID of the exercise being logged |
sets | integer | Yes | Number of sets performed |
reps | integer | Yes | Number of repetitions per set |
weight | float | No | Load in kilograms (defaults to 0) |
comments | string | No | Free-text notes |
The
date field is always set by the server to the current UTC timestamp at the moment the request is received. There is no way to supply a custom date when creating a workout.Editing a workout
Open the history view, click the date on the calendar that contains the entry, and click Edit next to the workout you want to change. You can update sets, reps, weight, and comments. The exercise and date cannot be changed after creation.PUT /api/workouts/
Deleting a workout
In the history view, click the entry’s date, find the exercise you want to remove, and click Delete. A confirmation prompt appears before the entry is permanently removed.DELETE /api/workouts/
Related pages
Exercise library
Browse exercises by muscle group and open the quick-log modal.
Workout history
Review all your past entries in a monthly calendar view.
Workouts API
Full endpoint reference for creating, updating, and deleting workouts.
Authentication
Learn how to obtain a JWT and authenticate API requests.