[Legacy] Apple HealthKit Activity Summaries Export Format
- Updated
Please note that the Apple HealthKit Activity Summaries Export Format is a legacy export and we recommend using the Apple HealthKitV2 Activity Summaries Export Format. This article should only be used for legacy exports, created prior to 11-April-2022.
HealthKit activity summaries are generated by the Apple Watch and are the data behind the activity rings used to encourage Apple Watch users to stand, exercise, and move around.
Activity Summaries are captured on a daily basis—each activity summary covers a single day.
Table of Contents
Data Fields
Field | Description |
---|---|
HealthKitActivitySummaryKey |
A unique, auto-generated key for the activity summary. |
ParticipantIdentifier |
The identifier of the participant the activity summary is for. Can be used to cross reference with Participants. |
StartDate |
The start date of the activity summary, in ISO 8601 format. Includes timezone offset information. May be empty if no start date was recorded. |
EndDate |
The end date of the activity summary, in ISO 8601 format. Includes timezone offset information. |
ActiveEnergyBurned |
The active energy burned recorded by the Apple Watch, in kcal. |
ActiveEnergyBurnedGoal |
The goal for ActiveEnergyBurned the participant set for themselves. |
AppleExerciseTime |
The total exercise time recorded by the Apple Watch, in minutes. |
AppleExerciseTimeGoal |
The goal for AppleExerciseTime the participant set for themselves. |
AppleStandHours |
The number of hours in the day during which the participant stood up for at least 1 minute. |
AppleStandHoursGoal |
The goal for AppleStandHours the participant set for themselves. |
InsertedDate |
The creation date of the entry, in ISO 8601 format. Is always in UTC. |
Sample CSV Export
HealthKitActivitySummaryKey,ParticipantIdentifier,StartDate,EndDate,ActiveEnergyBurned,ActiveEnergyBurnedGoal,AppleExerciseTime,AppleExerciseTimeGoal,AppleStandHours,AppleStandHoursGoal,InsertedDate 6077d380-b954-e811-8162-e6c7223c41fa,8d87da94-ed15-4be3-a69a-41f6c6cfcfef,2018-04-17T00:00:00-04:00,2018-04-17T23:59:59-04:00,1966.522,890,327,30,6,12,2018-05-11T01:20:35Z 6277d380-b954-e811-8162-e6c7223c41fa,8d87da94-ed15-4be3-a69a-41f6c6cfcfef,2018-04-15T00:00:00-04:00,2018-04-15T23:59:59-04:00,0,890,0,30,0,12,2018-05-11T01:20:35Z 6177d380-b954-e811-8162-e6c7223c41fa,8d87da94-ed15-4be3-a69a-41f6c6cfcfef,2018-04-16T00:00:00-04:00,2018-04-16T23:59:59-04:00,4952.519,890,805,30,14,12,2018-05-11T01:20:35Z
Sample JSON Export
{ "HealthKitActivitySummaryKey": "6077D380-B954-E811-8162-E6C7223C41FA", "ParticipantIdentifier": "8d87da94-ed15-4be3-a69a-41f6c6cfcfef", "StartDate": "2018-04-17T00:00:00-04:00", "EndDate": "2018-04-17T23:59:59-04:00", "ActiveEnergyBurned": "1966.522", "ActiveEnergyBurnedGoal": "890", "AppleExerciseTime": "327", "AppleExerciseTimeGoal": "30", "AppleStandHours": "6", "AppleStandHoursGoal": "12", "InsertedDate": "2018-05-11T01:20:35Z" } { "HealthKitActivitySummaryKey": "6277D380-B954-E811-8162-E6C7223C41FA", "ParticipantIdentifier": "8d87da94-ed15-4be3-a69a-41f6c6cfcfef", "StartDate": "2018-04-15T00:00:00-04:00", "EndDate": "2018-04-15T23:59:59-04:00", "ActiveEnergyBurned": "0", "ActiveEnergyBurnedGoal": "890", "AppleExerciseTime": "0", "AppleExerciseTimeGoal": "30", "AppleStandHours": "0", "AppleStandHoursGoal": "12", "InsertedDate": "2018-05-11T01:20:35Z" } { "HealthKitActivitySummaryKey": "6177D380-B954-E811-8162-E6C7223C41FA", "ParticipantIdentifier": "8d87da94-ed15-4be3-a69a-41f6c6cfcfef", "StartDate": "2018-04-16T00:00:00-04:00", "EndDate": "2018-04-16T23:59:59-04:00", "ActiveEnergyBurned": "4952.519", "ActiveEnergyBurnedGoal": "890", "AppleExerciseTime": "805", "AppleExerciseTimeGoal": "30", "AppleStandHours": "14", "AppleStandHoursGoal": "12", "InsertedDate": "2018-05-11T01:20:35Z" }
Was this article helpful?