---
title: "Get CGM device data for a patient"
method: GET
path: "/cgm/patients/{patient_id}/devices"
tags: ["cgm"]
---

# Get CGM device data for a patient

`GET /cgm/patients/{patient_id}/devices`

## Path parameters

- `patient_id` integer, required

## Response `200`

successful operation

- PatientCGMDeviceTableResponse
  - `has_more` boolean, required — Whether there are more results available
  - `rows` PatientCGMDeviceTableDeviceResponse[], required — List of CGM devices and their statistics
    - `bg_target_lower` number, float, nullable — Lower end of target range for BG, in mmol/L
    - `bg_target_upper` number, float, nullable — Upper end of target range for BG, in mmol/L
    - `device` string, nullable, required — The CGM device name/type
    - `device_id` string, nullable, required — The unique identifier for this device
    - `first_reading` string, date-time, required — Timestamp of the first reading from this device
    - `glucose_average` number, float, nullable — Average glucose level in mmol/L
    - `glucose_median` number, float, nullable — Median glucose level in mmol/L
    - `glucose_std_dev` number, float, nullable — Standard deviation of glucose values
    - `last_reading` string, date-time, required — Timestamp of the last reading from this device
    - `max_glucose` number, float, nullable — Maximum glucose level in mmol/L
    - `min_glucose` number, float, nullable — Minimum glucose level in mmol/L
    - `p25` number, float, nullable — 25th percentile glucose level in mmol/L
    - `p5` number, float, nullable — 5th percentile glucose level in mmol/L
    - `p75` number, float, nullable — 75th percentile glucose level in mmol/L
    - `p95` number, float, nullable — 95th percentile glucose level in mmol/L
    - `reading_count` integer, required — Total number of readings from this device
    - `unit` string — Unit of glucose measurements

---

[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/8d4f658e79b1?raw)
