Journey

Weight trend chart data

Called when user switches the Month / 6 months / Year tab.

get/api/journey/weight-trend

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/journey/weight-trend
  • Auth
    HTTP bearer

Query parameters

window'month' | '6months' | 'year'

Response

window'month' | '6months' | 'year' required
starting_weightobject nullable required
current_weightobject nullable required
goal_weightobject nullable required
weight_changeobject nullable required
goal_progress_pctobject nullable required

Percentage of (starting→goal) gap closed. Null when inputs missing.

Example response

{
  "points": [
    {
      "date": "2026-03-15",
      "weight": 184.2
    }
  ]
}

Changes

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