v24

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-08-012843108.3 KB
Goals

Update Goal

Update a goal.

  • goal_id: The ID of the goal to update
  • title: New title (optional)
  • target_value: New target value (optional)
  • current_value: New progress value (optional)
  • min_value: New minimum value (optional)
  • max_value: New maximum value (optional)
  • unit: New unit label (optional)
patch/v1/dev/user/goals/{goal_id}

Path parameters

goal_idstring required

Request body

current_valuenumber nullable

New progress value

desired_outcomestring nullable
horizon_atstring date-time nullable
max_valuenumber nullable

New maximum value

min_valuenumber nullable

New minimum value

success_criteriastring[] nullable
target_valuenumber nullable

New target value

titlestring nullable

New title

unitstring nullable

New unit label

why_it_mattersstring nullable

Response

Successful Response

created_atstring date-time required
current_valuenumber required
desired_outcomestring required
focus_rankinteger nullable
goal_idstring required
goal_typestring required
horizon_atstring date-time nullable
idstring required
is_activeboolean required
max_valuenumber required
min_valuenumber required
sourcestring required
statusstring required
success_criteriastring[]
target_valuenumber required
titlestring required
unitstring nullable
updated_atstring date-time required
why_it_mattersstring nullable