12-15-2022
15:28
- last edited on
12-15-2022
17:03
by
MatthewFitbit
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

12-15-2022
15:28
- last edited on
12-15-2022
17:03
by
MatthewFitbit
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I have noticed that when retrieving daily sleep data through the API (through python API, version 1.2), the granular sleep stages under sleep:levels:data or sleep:levels:shortData does not match the summary (both the sleep:summary and sleep:levels:summary).
This was confirmed also through swagger.
There's always few minutes off between the two and in many cases even the number of episodes does not match.
Anyone knows what the reason is?
12-20-2022 22:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



12-20-2022 22:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @Assafgo,
Could you share the endpoint with the user id anonymized, as well as the API response you received where you are seeing the discrepancies?
Thanks!

