---
title: "Weight trend chart data"
method: GET
path: "/api/journey/weight-trend"
tags: ["Journey"]
---

# Weight trend chart data

`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

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

## Query parameters

- `window` 'month' | '6months' | 'year'

## Response `200`

- WeightTrendDto
  - `window` 'month' | '6months' | 'year', required
  - `points` WeightTrendPointDto[], required
    - `date` string, required
    - `weight` number, required
  - `starting_weight` object, nullable, required
  - `current_weight` object, nullable, required
  - `goal_weight` object, nullable, required
  - `weight_change` object, nullable, required
  - `goal_progress_pct` object, nullable, required: Percentage of (starting→goal) gap closed. Null when inputs missing.

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
