metrics

Amend Goal

Change a goal, snapshotting what it said first.

Frederick, 2026-09-09: "I need to be able to update and change goals. The goals can't be set forever." Until this route existed the goal surface was propose / agree and nothing else -- no way to move a target, a deadline, or a word.

A change to the SUBSTANCE takes the agreement back (goals. SUBSTANTIVE_FIELDS); re-wording the narrative does not. The response says which happened, because "your edit landed" and "your edit landed and this goal now needs signing off again" are different things to be told.

patch/api/metrics/goals/{goal_id}

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

goal_id, string uuid required

Request body

GoalAmendment required

A change to a goal, and why.

⛔EVERY FIELD IS OPTIONAL AND None IS AMBIGUOUS, so the route reads model_dump(exclude_unset=True) rather than the model's attributes: "clear the deadline" (deadline: null, sent) and "do not touch the deadline" (not sent) are different instructions that both arrive as None on the object. Reading the attribute would make one of them impossible, and it would be the clearing one -- a deadline nobody could ever remove.

reason, string required
target, string nullable
deadline, string date nullable
narrative, string nullable
rationale, string nullable
goal_kind, string nullable
window_days, integer nullable
staleness_days, integer nullable
horizon_days, integer nullable
priority_rank, integer nullable
owner_principal_id, string uuid nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 251 revisions of this API.