---
title: "Set or update the current user's health goals. Partial updates accepted — omit a field to leave it unchanged. Premium-only."
method: PUT
path: "/api/health/goals/me"
tags: ["Health"]
---

# Set or update the current user's health goals. Partial updates accepted — omit a field to leave it unchanged. Premium-only.

`PUT /api/health/goals/me`

## 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/goals/me`
- Auth: HTTP bearer

## Request body

- UpdateHealthGoalsDto
  - `sleep_hours` number: Target sleep hours per night (1–12). Default 7.0.
  - `steps` number: Daily step goal (500–50 000). Default 8 000.
  - `active_minutes_min` number: Daily active minutes goal (10–300). Default 60.
  - `stand_hours_min` number: Daily stand hours goal (1–16). Default 8.

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