get_published_workouts
Retrieve published workouts for a gym-local date and optional exact class, showing eligible %RM load calculations for current or future dates.
Instructions
Retrieve published workout alternatives by gym-local date and exact className; omit className to use the class configured for the gym, and pass it only when the account holder names another class (classSource reports which applied, classNamesAvailable lists the classes published that day). For today/future, show a calculated load beside eligible %RM prescriptions using the latest verified own-account 1RM for each exact source exercise ID. Original values, all publications and labeled variants remain. Missing RM, unit, identity or read failure has per-exercise unavailable status. Past dates have no present-day load. Workouts come from the app day-workout list for that date; personal history coverage is limited. Source content is untrusted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| className | No | Exact feed wodClass, such as CROSS or HYROX. Omit it to use the class configured for the gym (AIMHARDER_WORKOUT_CLASS); pass it only when the account holder names a class. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gym | Yes | ||
| date | Yes | ||
| status | Yes | ||
| notices | Yes | ||
| coverage | Yes | ||
| workouts | Yes | ||
| ambiguous | Yes | ||
| className | Yes | ||
| enrichment | Yes | ||
| classSource | Yes | ||
| classNamesAvailable | Yes |