Health Connect Distance Records Export Format
The Distance Records export contains data about the distance traveled by a user since the last reading. The total distance over an interval can be calculated by adding together all the values during the interval.
Data Fields
|
Field |
Description |
|---|---|
|
|
A unique key for this Health Connect Record. |
|
|
The identifier of the participant this record is for. Can be used to cross reference with Participants. |
|
|
The stable, automatically generated, internal system identifier for this participant. Universally unique identifier (UUID). |
|
|
The package name of the application that generated this record. |
|
|
When the data was last modified (or originally created) by the application, in ISO 8601 format. Is always in UTC. |
|
|
Optional client-supplied record unique data identifier associated with this record. |
|
|
Optional client-supplied version associated with this record. |
|
|
Optional client-supplied manufacturer of the device associated with this record. |
|
|
Optional client-supplied model of the device associated with this record. |
|
|
Optional client-supplied manufacturer of the device associated with this record. |
|
|
Whether the record was generated manually or automatically, if known. |
|
|
The date MyDataHelps received the data from Health Connect, in ISO 8601 format. Is always in UTC. |
|
|
The time the record started, in ISO 8601 format. Includes timezone offset information. |
|
|
Whether the time zone offset applied to `StartTime` was derived from the mobile device's zone offset when the data was uploaded. "True" if derived in this way, "False", Null (CSV) or missing property (JSON) if zone offset was provided by Health Connect. |
|
|
The time the record ended, in ISO 8601 format. Includes timezone offset information. |
|
|
Whether the time zone offset applied to `EndTime` was derived from the mobile device's zone offset when the data was uploaded. "True" if derived in this way, "False", Null (CSV) or missing property (JSON) if zone offset was provided by Health Connect. |
|
|
The distance the user traveled during the period of this record, in `DistanceType` units. |
|
|
The measurement unit of `DistanceValue`. |
Sample CSV Export
HealthConnectRecordKey,ParticipantIdentifier,ParticipantID,MetadataDataOriginPackageName,MetadataLastModifiedTime,MetadataClientRecordID,MetadataClientRecordVersion,MetadataDeviceManufacturer,MetadataDeviceModel,MetadataDeviceType,MetadataRecordingMethod,InsertedDate,StartTime,StartZoneOffsetSetAtUpload,EndTime,EndZoneOffsetSetAtUpload,DistanceValue,DistanceType
7a5e3fbe-9da7-3aea-8708-56372ec2e3ef,TST123456,1be320d5-57fa-4860-8fa2-033b27038c4e,com.garmin.android.apps.connectmobile,2026-03-28T06:15:21.726Z,1774584000000,0,,,TYPE_WATCH,RECORDING_METHOD_AUTOMATICALLY_RECORDED,2026-04-01T13:09:52Z,2026-03-27T00:00:00.000-04:00,,2026-03-27T23:59:59.000-04:00,,13895.0,METERS
Sample JSON Export
{
"HealthConnectRecordKey": "7a5e3fbe-9da7-3aea-8708-56372ec2e3ef",
"ParticipantIdentifier": "TST123456",
"ParticipantID": "1be320d5-57fa-4860-8fa2-033b27038c4e",
"InsertedDate": "2026-04-01T13:09:52Z",
"Metadata": {
"DataOriginPackageName": "com.garmin.android.apps.connectmobile",
"LastModifiedTime": "2026-03-28T06:15:21.726Z",
"ClietRecordID": "1774584000000",
"ClientRecordVersion": "0",
"Device": { "Type": "TYPE_WATCH" },
"RecordingMethod": "RECORDING_METHOD_AUTOMATICALLY_RECORDED",
"StartTime": "2026-03-27T00:00:00.000-04:00",
"EndTime": "2026-03-27T23:59:59.000-04:00",
"Distance": {
"Type": "METERS",
"Value": 13895.0
}
}