Read a planned workout
get_planned_trainingRead a planned training workout in the curated form. Returns the event exactly as update_planned_training takes it: every writable field, the workout nodes carrying their "id", plus read-only fields to leave out of a patch ("id", "revision", "summary", "has_structured_workout"...). A field sent back unchanged changes nothing, and the "resolved" values inside targets are ignored on write. "summary" is a human-readable text of the content, in the units of the caller; "revision" is the optimistic-concurrency token to pass back to update_planned_training. A step with neither "duration" nor "distance" is a note: not sent to watches, not an effort, skip it when counting intervals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Public id of the planned training workout. | |
| group | No | Group id (grp_…) carrying this event, for a workout planned on a whole group you manage. Omit it for an individual event. Never together with `athlete`. | |
| athlete | No | Athlete id (usr_…) whose calendar carries this event, the same id you read it with. Omit it for your own events. Never together with `group`. | |
| recurrence_action | No | Occurrences concerned: only this one, this one and following ones, or the whole series. On a read, following or all previews the occurrences (count, ids) the write would touch: state that number to the user before asking. | one |
| with_description_html | No | Also serve description_html, the stored description in HTML. Ask for it before changing a description that is already set: plain text is refused there. |