Get Eight Sleep Sleep Trends
eight_sleep_get_trendsRetrieve nightly sleep sessions and scores for a specified date range to analyze sleep trends.
Instructions
Return nightly sleep sessions and scores for a date range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | Yes | End date in YYYY-MM-DD. | |
| user_id | No | ||
| timezone | No | UTC | |
| from_date | Yes | Start date in YYYY-MM-DD. | |
| privacy_mode | No | Optional per-call payload privacy override. Defaults to EIGHT_SLEEP_PRIVACY_MODE or structured. | |
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| endpoint | Yes | ||
| privacy_mode | Yes |