This query returns a list of instances of when your sleep data was exported.
- API endpoint slug
- WithingsSleep.history_of_my_sleep_data_exports
- Runtime method
- performQuery("WithingsSleep.history_of_my_sleep_data_exports")
Query fields
- Label
- Which sensor do you want to use?
- Helper text
- If you have more than one sensor linked to your Withings Health Mate account, you can select which one you want to use.
- Slug
- device
- Required
- true
- Can have default value
- false
Ingredients
- Slug
- sleep_duration
- Filter code
- WithingsSleep.historyOfMySleepDataExports.SleepDuration
- Type
- String
- Example
- 26500
- Slug
- device_user
- Filter code
- WithingsSleep.historyOfMySleepDataExports.DeviceUser
- Type
- String
- Example
- Tom
- Slug
- bed_in
- Filter code
- WithingsSleep.historyOfMySleepDataExports.InBedDateandTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- device_mac
- Filter code
- WithingsSleep.historyOfMySleepDataExports.DeviceMac
- Type
- String
- Example
- 00:E4:XX:XX:XX:XX
- Slug
- bed_out
- Filter code
- WithingsSleep.historyOfMySleepDataExports.OutofBedDateandTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- light_sleep_duration
- Filter code
- WithingsSleep.historyOfMySleepDataExports.LightSleepDuration
- Type
- String
- Example
- 16000
- Slug
- deep_sleep_duration
- Filter code
- WithingsSleep.historyOfMySleepDataExports.DeepSleepDuration
- Type
- String
- Example
- 5000
- Slug
- rem_sleep_duration
- Filter code
- WithingsSleep.historyOfMySleepDataExports.RemSleepDuration
- Type
- String
- Example
- 5500
- Slug
- sleep_score
- Filter code
- WithingsSleep.historyOfMySleepDataExports.SleepScore
- Type
- String
- Example
- 100
- Slug
- snoring_duration
- Filter code
- WithingsSleep.historyOfMySleepDataExports.SnoringDuration
- Type
- String
- Example
- 1800
- Slug
- snoring_count
- Filter code
- WithingsSleep.historyOfMySleepDataExports.SnoringEpisodesCount
- Type
- String
- Example
- 8
- Slug
- hr_average
- Filter code
- WithingsSleep.historyOfMySleepDataExports.HeartRateAverage
- Type
- String
- Example
- 54
- Slug
- wakeup_duration
- Filter code
- WithingsSleep.historyOfMySleepDataExports.AwakeDuration
- Type
- String
- Example
- 1200
- Slug
- status_sleep_score
- Filter code
- WithingsSleep.historyOfMySleepDataExports.StatusSleepScore
- Type
- String
- Example
- Restful night
- Slug
- status_regularity
- Filter code
- WithingsSleep.historyOfMySleepDataExports.StatusRegularity
- Type
- String
- Example
- Average
- Slug
- status_recovery
- Filter code
- WithingsSleep.historyOfMySleepDataExports.StatusRecovery
- Type
- String
- Example
- Average
- Slug
- wakeup_count
- Filter code
- WithingsSleep.historyOfMySleepDataExports.NbInterruptions
- Type
- String
- Example
- 4
- Slug
- duration_to_sleep
- Filter code
- WithingsSleep.historyOfMySleepDataExports.TimeToSleep
- Type
- String
- Example
- 720
- Slug
- duration_to_wakeup
- Filter code
- WithingsSleep.historyOfMySleepDataExports.TimeToGetUp
- Type
- String
- Example
- 720