We avoid breaking changes if possible, allowing customers to adapt and transition smoothly to new features. Still, the goal remains to provide even more rich data and make it more flexible to consume.
from_timestamp
, to_timestamp
and from_date
, to_date
supersede the deprecated ones from
, to
and timezone
.
from_timestamp
and to_timestamp
must be used in all endpoints that expect time range with timestamps. They must be in the UTC timezone, therefore timezone
is no longer used. The formats allowed are 2006-01-02T15:04:05
and 2006-01-02T15:04:05Z
.from_date
and to_date
must be used for endpoints that provide daily summaries (Daily Statistics) and sleep data (List Sleeps). The format allowed is 2006-01-02
.breathing_rate
, breathing_rate_min
, and breathing_rate_max
will be used in sleep endpoints instead of the deprecated sleep_breathing_rate
, sleep_breathing_rate_min
, and sleep_breathing_rate_max
.
This change standardizes metric naming by removing the sleep_
prefix, improving consistency across respiratory metrics.
The underlying data and calculations remain unchanged — only the metric names have been updated. Please update your integration code accordingly.