user-events

Update User Event

Update post-goal questionnaire fields on a user event.

goal_summary is recomputed from motivation on save (see UserEvent.async_save), so a PATCH that changes the meaning returns a fresh label. A race_tier change that shifts the taper schedules a background replan, matching the set_event_goal_meaning tool path.

patch/user_events/{user_event_id}

Path parameters

user_event_idstring required

Query parameters

user_idstring nullable

Request body

race_experiencestring nullable
target_timestring nullable
motivationstring nullable
race_tier'A' | 'B' | 'C'

Athlete-assigned priority for a race, anchoring taper severity.

Values are UPPERCASE by product decision (the coach surfaces them as A/B/C to the athlete):

  • A: season goal — full taper + recovery.
  • B: secondary — light volume reduction, used to test strategy.
  • C: training tool — no taper; replaces a workout in the plan.

Response

Successful Response

object required

Changes

No recorded changes to this endpoint across all 1 revision of this API.