cgm
Get a patient's raw CGM-related data (note: a maximum of 5,000 datapoints will be returned; limit queries to 24h)
get/cgm/patients/{patient_id}/cgm_data
Path parameters
patient_idinteger required
Query parameters
time_since_localstring required
time_until_localstring required
Response
successful operation
Example response
{
"exercise": [
{
"exercise_date": "2019-01-02",
"exercise_time": "08:00:00",
"intensity": "low",
"source": "healthkit",
"source_id": "35C09300-FAB6-460E-95B5-8EF4EC5663A3"
}
],
"glucose": [
{
"timestamp": "2016-03-22T21:03:41",
"unit": "mmol/L"
}
],
"insulin": [
{
"medication_date": "2019-01-02",
"medication_time": "08:00:00"
}
],
"time_since_local": "2020-04-02T00:00:00Z",
"time_until_local": "2020-04-10T00:00:00Z"
}