get_sleep_data
Retrieve Coros nightly sleep data for a configurable 1–52 week range, including deep, light, REM, and awake stage breakdowns plus sleep heart rate per night.
Instructions
Fetch nightly sleep data from Coros for a configurable time range.
Returns per-night sleep stage breakdown (deep, light, REM, awake) and sleep heart rate for each night. Data comes from the Coros mobile API (apieu.coros.com) which is separate from the Training Hub web API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weeks | No | Number of weeks to fetch (1–52). Default: 4. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||