12-28-2023 12:25 - edited 12-28-2023 12:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

12-28-2023 12:25 - edited 12-28-2023 12:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I am trying to parse through my sleep data and realized when there are overlapping sleep stages with awake (which is light,deep, or rem overlapping with a very short awake stage) - the small awake stage that shows in the app for 30 sec or 1 min is not being sent through the web api, meaning there is more time given to these other stages and less from awake (taken away from them).
Looking at the image I provided as context: there are two overlapping awake stages for 1 min (3:43 am to 3:44 am) and 30 seconds (3:54 am), over the light stage (as you can see from the app). But nowhere in the data from the sleep log are those overlapping stages found - they only have the deep sleep ending at 3:44 am and the light sleep starting at 3:44 am to 4:41 am.
*For some weird reason the Fitbit forum does not let me upload an image or text of my sleep log intervals for that date - I believe it is because it has date formatting... not sure*
In summary, if you add up the intervals of the sleep stages from the sleep log by date data, it is off compared to the summary of that same data.
How can I resolve this issue?
This is the returned data:
Answered! Go to the Best Answer.
Accepted Solutions
01-02-2024 13:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-02-2024 13:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @mmf229
See if this information in this article, https://dev.fitbit.com/build/reference/web-api/developer-guide/best-practices/#Interpreting-the-Slee... helps with interpreting the overlapping sleep stages.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

01-02-2024 13:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-02-2024 13:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @mmf229
See if this information in this article, https://dev.fitbit.com/build/reference/web-api/developer-guide/best-practices/#Interpreting-the-Slee... helps with interpreting the overlapping sleep stages.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

01-04-2024 18:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-04-2024 18:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thank you, this solved the issue.

