get_sleep_data
Retrieve nightly sleep data from Coros for any time range, including sleep stage breakdown (deep, light, REM, awake) and sleep heart rate.
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 | |||