This query returns a list of your logged sleep.
Developer info
- API endpoint slug
- google_health.sleep_logs
- Runtime method
- performQuery("google_health.sleep_logs"}
Query fields
No fields for this query
Ingredients
Fell asleep at The date and time you fell asleep, localized to your Google Health timezone
- Slug
- fell_asleep_at
- Filter code
- GoogleHealth.sleepLogs.FellAsleepAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
Awoke at The date and time you woke up, localized to your Google Health timezone
- Slug
- awoke_at
- Filter code
- GoogleHealth.sleepLogs.AwokeAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
Total time slept in seconds The total time you slept, in seconds
- Slug
- total_time_slept_in_seconds
- Filter code
- GoogleHealth.sleepLogs.TotalTimeSleptInSeconds
- Type
- String
- Example
- 28800
Restless count Number of moments you were restless while sleeping
- Slug
- restless_count
- Filter code
- GoogleHealth.sleepLogs.RestlessCount
- Type
- String
- Example
- 4
Awake count Number of moments you were awake while trying to sleep
- Slug
- awake_count
- Filter code
- GoogleHealth.sleepLogs.AwakeCount
- Type
- String
- Example
- 2
Deep sleep minutes Minutes of deep sleep
- Slug
- deep_sleep_minutes
- Filter code
- GoogleHealth.sleepLogs.DeepSleepMinutes
- Type
- String
- Example
- 95
Rem sleep minutes Minutes of REM sleep
- Slug
- rem_sleep_minutes
- Filter code
- GoogleHealth.sleepLogs.RemSleepMinutes
- Type
- String
- Example
- 110
Light sleep minutes Minutes of light sleep
- Slug
- light_sleep_minutes
- Filter code
- GoogleHealth.sleepLogs.LightSleepMinutes
- Type
- String
- Example
- 275
Total time slept The total time you slept
- Slug
- total_time_slept
- Filter code
- GoogleHealth.sleepLogs.TotalTimeSlept
- Type
- String
- Example
- 8 hours
Time to fall asleep Number of minutes before falling asleep
- Slug
- time_to_fall_asleep
- Filter code
- GoogleHealth.sleepLogs.TimeToFallAsleep
- Type
- String
- Example
- 7 minutes
