---
title: "Daily sparkline data for a specific client (coach role). Same shape as /sparklines/me. Premium-only + requires health_data_consent_at."
method: GET
path: "/api/health/sparklines/{userId}"
tags: ["Health"]
---

# Daily sparkline data for a specific client (coach role). Same shape as /sparklines/me. Premium-only + requires health_data_consent_at.

`GET /api/health/sparklines/{userId}`

## 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/health/sparklines/{userId}`
- Auth: HTTP bearer

## Path parameters

- `userId` number, required

## Query parameters

- `days` number

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