APIs intended for internal use by Tidepool.
- Issue for Dosing Decision
Data API (1.0)
The Tidepool API is an HTTP REST API used by Tidepool clients use to communicate with the Tidepool Platform.
For more information, see the Getting Started section.
https://tidepool.redocly.app/_mock/reference/data.v1/
https://external.integration.tidepool.org/
https://api.tidepool.org/
https://dev1.dev.tidepool.org/
https://qa1.development.tidepool.org/
https://qa2.development.tidepool.org/
Blood Glucose Target Start
Start time as millisecond offset from midnight
Blood glucose target values, in mg/dL
An integer encoding the upper bound of a PWD's blood glucose target.
The minimum value should be >= low
or target
, whichever present
An integer encoding the lower bound of a PWD's blood glucose target.
An integer encoding the allowed deviation above or below the PWD's target blood glucose.
Maximum should be min(target
, 1000 - target
) such that target
-range
>= 0 and target
+range
<= 1000
{ "high": 180, "low": 80 }
Dosing Decision
A dosing decision
An array of annotations.
An array of associations for the resource.
Clock drift offset, expressed as milliseconds.
Conversion offset, expressed as milliseconds.
String representation of a Tidepool User ID. Old style IDs are 10-digit strings consisting of only hexadeximcal digits. New style IDs are 36-digit UUID v4
String representation of a Tidepool User ID. Old style IDs are 10-digit strings consisting of only hexadeximcal digits. New style IDs are 36-digit UUID v4
Globally unique to device and repeatable with each upload, e.g. device make and model with serial number
Location information associated with the resource. One or both of name
and gps
must be specified.
String representation of a Tidepool User ID. Old style IDs are 10-digit strings consisting of only hexadeximcal digits. New style IDs are 36-digit UUID v4
Grab bag field for data that isn't yet part of the data model. The maximum size is 4K bytes.
A string timezone name from the IANA timezone database
Time zone offset, expressed as positive or negative number of minutes from UTC.
Data type
An upload identifier; this field should be the uploadId of the corresponding upload record
{ "annotations": [ { … } ], "archivedTime": "2017-02-06T02:37:46Z", "archivedDatasetId": "ce8cc5f7595575945f91fc6710db6fef", "associations": [ { … } ], "clockDriftOffset": 0, "conversionOffset": 0, "createdTime": "2017-02-06T02:37:46Z", "createdUserId": "string", "deduplicator": { "hash": "string", "version": "2.36.1", "name": "org.tidepool.uploader" }, "deletedTime": "2017-02-06T02:37:46Z", "deletedUserId": "string", "deviceId": "MMT-1711:12345678", "deviceTime": "2017-02-06T02:37:46", "guid": "string", "history": [ { … } ], "id": "ce8cc5f7595575945f91fc6710db6fef", "location": { "name": "string", "gps": { … } }, "modifiedTime": "2017-02-06T02:37:46Z", "modifiedUserId": "string", "notes": [ "string" ], "origin": { "id": "string", "name": "string", "payload": {}, "time": "2017-02-06T02:37:46Z", "type": "device", "version": "string" }, "payload": {}, "source": "carelink", "tags": [ "string" ], "time": "2017-02-06T02:37:46Z", "timezone": "Europe/London", "timezoneOffset": -420, "type": "dosingDecision", "uploadId": "0d92d5c1c22117a18f3620b9e24d3c06", "reason": "bolus", "originalFood": { "time": "2019-08-24T14:15:22Z", "nutrition": { … } }, "food": { "time": "2019-08-24T14:15:22Z", "nutrition": { … } }, "smbg": { "time": "2019-08-24T14:15:22Z", "value": 105 }, "carbsOnBoard": { "time": "2019-08-24T14:15:22Z", "amount": 18 }, "insulinOnBoard": { "time": "2019-08-24T14:15:22Z", "amount": 0.75 }, "bgTargetSchedule": [ { … } ], "bgHistorical": [ { … } ], "bgForecast": [ { … } ], "recommendedBasal": { "rate": 1.25, "duration": 180000 }, "recommendedBolus": { "amount": 2.5 }, "requestedBolus": { "amount": 2 }, "warnings": [ { … } ], "errors": [ { … } ], "scheduleTimeZoneOffset": -480, "units": { "bg": "mg/dL", "carb": "grams", "insulin": "Units" } }