Skip to content
  • There are no suggestions because the search field is empty.

[Legacy] Apple HealthKit Workouts Export Format

Please note that the Apple HealthKit Workouts Export Format is a legacy export and we recommend using the Apple HealthKitV2 Workouts Export Format. This article should only be used for legacy exports, created prior to 11-April-2022.

Workouts in HealthKit have a unique data structure for capturing information specific to the participant’s workout.

Data Fields


Sample CSV Export

HealthKitWorkoutKey,ParticipantIdentifier,ActivityType,StartDate,Date,Duration,TotalDistance,TotalEnergyBurned,TotalFlightsClimbed,TotalSwimmingStrokeCount,SourceIdentifier,SourceName,SourceVersion,DeviceName,DeviceModel,DeviceManufacturer,DeviceHardwareVersion,DeviceSoftwareVersion,DeviceFirmwareVersion,DeviceFDAIdentifier,DeviceLocalIdentifier,Metadata,InsertedDate
f0f972f4-b954-e811-8162-e6c7223c41fa,9205a702-423c-e811-815e-eba90450b141,Running,2018-04-06T12:10:12-04:00,2018-04-06T12:45:26-04:00,2114.32899594307,863.642877342056,102.917,,,com.apple.health.2B62FC19-C73C-4385-987A-9321D7139476,Sample’s Apple Watch,4.1,,,,,,,,,"{""HKTimeZone"":""America\/Detroit""}",2018-05-11T01:23:53Z
f1f972f4-b954-e811-8162-e6c7223c41fa,9205a702-423c-e811-815e-eba90450b141,Rowing,2018-04-05T15:37:53-04:00,2018-04-05T15:39:40-04:00,107.115283966064,,6.077,,,com.apple.health.2B62FC19-C73C-4385-987A-9321D7139476,Sample’s Apple Watch,4.1,,,,,,,,,"{""HKTimeZone"":""America\/Detroit""}",2018-05-11T01:23:53Z
f2f972f4-b954-e811-8162-e6c7223c41fa,9205a702-423c-e811-815e-eba90450b141,Running,2018-04-05T15:41:02-04:00,2018-04-05T15:43:39-04:00,151.452096939087,0,3.237,,,com.apple.health.2B62FC19-C73C-4385-987A-9321D7139476,Sample’s Apple Watch,4.1,,,,,,,,,"{""HKTimeZone"":""America\/Detroit""}",2018-05-11T01:23:53Z

Sample JSON Export

{
  "HealthKitWorkoutKey": "F0F972F4-B954-E811-8162-E6C7223C41FA",
  "ParticipantIdentifier": "9205a702-423c-e811-815e-eba90450b141",
  "ActivityType": "Running",
  "StartDate": "2018-04-06T12:10:12-04:00",
  "Date": "2018-04-06T12:45:26-04:00",
  "Duration": "2114.32899594307",
  "TotalDistance": "863.642877342056",
  "TotalEnergyBurned": "102.917",
  "Source": {
    "Identifier": "com.apple.health.2B62FC19-C73C-4385-987A-9321D7139476",
    "Name": "Sample’s Apple Watch",
    "Version": "4.1"
  },
  "Metadata": {
    "HKTimeZone": "America/Detroit"
  },
  "InsertedDate": "2018-05-11T01:23:53Z"
}

{
  "HealthKitWorkoutKey": "F1F972F4-B954-E811-8162-E6C7223C41FA",
  "ParticipantIdentifier": "9205a702-423c-e811-815e-eba90450b141",
  "ActivityType": "Rowing",
  "StartDate": "2018-04-05T15:37:53-04:00",
  "Date": "2018-04-05T15:39:40-04:00",
  "Duration": "107.115283966064",
  "TotalEnergyBurned": "6.077",
  "Source": {
    "Identifier": "com.apple.health.2B62FC19-C73C-4385-987A-9321D7139476",
    "Name": "Sample’s Apple Watch",
    "Version": "4.1"
  },
  "Metadata": {
    "HKTimeZone": "America/Detroit"
  },
  "InsertedDate": "2018-05-11T01:23:53Z"
}

{
  "HealthKitWorkoutKey": "F2F972F4-B954-E811-8162-E6C7223C41FA",
  "ParticipantIdentifier": "9205a702-423c-e811-815e-eba90450b141",
  "ActivityType": "Running",
  "StartDate": "2018-04-05T15:41:02-04:00",
  "Date": "2018-04-05T15:43:39-04:00",
  "Duration": "151.452096939087",
  "TotalDistance": "0",
  "TotalEnergyBurned": "3.237",
  "Source": {
    "Identifier": "com.apple.health.2B62FC19-C73C-4385-987A-9321D7139476",
    "Name": "Sample’s Apple Watch",
    "Version": "4.1"
  },
  "Events": [
    {
      "HealthKitWorkoutEventKey": "43FC72F4-B954-E811-8162-E6C7223C41FA",
      "Date": "2018-04-05T15:41:05-04:00",
      "Type": "Pause",
      "Metadata": {}
    },
    {
      "HealthKitWorkoutEventKey": "45FC72F4-B954-E811-8162-E6C7223C41FA",
      "Date": "2018-04-05T15:41:09-04:00",
      "Type": "Resume",
      "Metadata": {}
    },
    {
      "HealthKitWorkoutEventKey": "44FC72F4-B954-E811-8162-E6C7223C41FA",
      "Date": "2018-04-05T15:41:46-04:00",
      "Type": "Pause",
      "Metadata": {}
    },
    {
      "HealthKitWorkoutEventKey": "46FC72F4-B954-E811-8162-E6C7223C41FA",
      "Date": "2018-04-05T15:41:48-04:00",
      "Type": "Resume",
      "Metadata": {}
    }
  ],
  "Metadata": {
    "HKTimeZone": "America/Detroit"
  },
  "InsertedDate": "2018-05-11T01:23:53Z"
}