Get WHOOP sleep for cycle
get_sleep_for_cycleRetrieve the sleep record for the night ending a WHOOP cycle. Provide the cycle ID to fetch the associated sleep data.
Instructions
The sleep that closed the given cycle, i.e. the night at the end of that WHOOP day.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cycle_id | Yes | Numeric cycle id, e.g. from get_cycles or a recovery record |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| end | No | Absent while the activity is still in progress | |
| nap | Yes | ||
| score | No | ||
| start | Yes | ||
| v1_id | No | ||
| cycle_id | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| score_state | Yes | ||
| timezone_offset | Yes |