---
title: "Get the patient's active health target by id"
method: GET
path: "/patients/{patient_id}/health-targets/{health_target_id}"
tags: ["health_targets"]
---

# Get the patient's active health target by id

`GET /patients/{patient_id}/health-targets/{health_target_id}`

## Path parameters

- `patient_id` integer, required
- `health_target_id` integer, required

## Response `200`

successful operation

- PatientHealthTargetResponse
  - `archive_reason` 'changed' | 'deleted', nullable
  - `archived_time` string, date-time, nullable
  - `category` string, required
  - `created_by_user_id` number
  - `created_by_user_type` 'clinician' | 'patient' | 'system'
  - `created_time` string, date-time
  - `id` integer, nullable
  - `is_pinned` boolean, nullable
  - `meal_slots` string[], nullable
  - `patient_id` integer, required
  - `target_aggregator` 'avg' | 'min' | 'max' | 'sum' | 'count'
  - `target_name` string, required
  - `target_period` string — Allowed values depend on the target category. Nutrient and water targets use week, day, breakfast, lunch, dinner, snack, and meal. Other categories use their category-specific supported periods.
  - `target_range_high` number, nullable — upper end of the range; patient wants to stay below this value
  - `target_range_low` number, nullable — lower end of the range; patient wants to stay above this value
  - `target_range_type` 'above' | 'below' | 'within'
  - `updated_time` string, date-time

---

[API](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server.md) · [All operations](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/llms.txt) · [OpenAPI document](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/revisions/a229b18839a0?raw)
