APIs intended for internal use by Tidepool.
- Pump Settings
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/
Pump Settings Override Preset
An insulin pump settings override preset.
{ "abbreviation": "🏃♀️", "duration": 7200, "bgTarget": { "high": 180, "low": 80 }, "basalRateScaleFactor": 0.8, "carbRatioScaleFactor": 1.25, "insulinSensitivityScaleFactor": 1.25 }
Pump Settings
Insulin pump settings
TODO: Find a way for the following to be either/or and add properties of all of the above (for now, set to type: object):
- basalSchedule/basalSchedules
- bgTarget/bgTargets
- carbRatio/carbRatios
- insulinSensitivity/insulinSensitivities
- add properties of all of the above
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
A set of key-value pairs encoding the PWD's programmed basal schedules, where each key is a basal schedule name and each value is an array of basal schedule segment objects.
Blood glucose target values, in mg/dL
An integer encoding the grams of carbohydrate "covered" by one unit of insulin for the PWD.
A set of key-value pairs encoding the PWD's programmed carb ratio schedules, where each key is a schedule name and each value is an array of carb ratio segment objects.
The software version of the pump, if known.
{ "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": "pumpSettings", "uploadId": "0d92d5c1c22117a18f3620b9e24d3c06", "activeSchedule": "string", "basalSchedule": {}, "basalSchedules": {}, "bgTarget": { "high": 180, "low": 80 }, "bgTargets": {}, "bolus": { "amountMaximum": {}, "calculator": { … }, "extended": {} }, "carbRatio": 250, "carbRatios": {}, "display": { "bloodGlucose": { … } }, "firmwareVersion": "1.2", "hardwareVersion": "2.3r45", "insulinFormulation": { "compounds": [ … ], "name": "string" }, "insulinSensitivity": {}, "insulinSensitivities": {}, "manufacturers": [ "Acme" ], "model": "Pump A Lot", "name": "My Pump", "serialNumber": "string", "sleepSchedules": [ { … } ], "softwareVersion": "3.4.5", "units": { "bg": "mmol/L", "carb": "exchanges" }, "dosingEnabled": true, "bgTargetPreMealTarget": { "low": 1000, "high": 1000 }, "bgSafetyLimit": 75, "insulinModel": { "modelType": "rapidAdult", "modelTypeOther": "string", "actionDelay": 86400, "actionDuration": 86400, "actionPeakOffset": 86400 }, "overridePresets": { "property1": { … }, "property2": { … } } }
Pump Status
An abstract base data type for all Tidepool diabetes data objects.
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": "pumpStatus", "uploadId": "0d92d5c1c22117a18f3620b9e24d3c06", "basalDelivery": { "state": "temporary", "time": "2019-08-24T14:15:22Z", "dose": { … } }, "battery": { "time": "2019-08-24T14:15:22Z", "state": "charging", "remaining": 0.75, "units": "percent" }, "bolusDelivery": { "state": "delivering", "dose": { … } }, "deliveryIndeterminant": false, "reservoir": { "time": "2019-08-24T14:15:22Z", "remaining": 68, "units": "Units" } }