---
title: "Mobile Coach API — \"More\" drill-in on the Sleep/Steps/HRV cards from health-insights (#7). metric: sleep | steps | hrv | rhr | active_minutes | stand_hours | blood_pressure. window: week/month/year (blood_pressure also accepts 6months). Requires health_data_consent_at."
method: GET
path: "/api/coach/clients/{id}/health/trend/{metric}"
tags: ["Coach"]
---

# Mobile Coach API — "More" drill-in on the Sleep/Steps/HRV cards from health-insights (#7). metric: sleep | steps | hrv | rhr | active_minutes | stand_hours | blood_pressure. window: week/month/year (blood_pressure also accepts 6months). Requires health_data_consent_at.

`GET /api/coach/clients/{id}/health/trend/{metric}`

## 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/coach/clients/{id}/health/trend/{metric}`
- Auth: HTTP bearer

## Path parameters

- `id` number, required
- `metric` string, required

## Query parameters

- `window` 'week' | 'month' | 'year' | '6months'
- `date` string

## Response `200`

---

[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)
