whoop-get-sleep-collection
Retrieve paginated sleep records from WHOOP with date filtering options to analyze sleep patterns and duration data.
Instructions
Get all sleep records for a user, paginated
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Limit on the number of sleep records returned (max 25) | |
| start | No | Return sleep records that occurred after or during this time (ISO 8601) | |
| end | No | Return sleep records that intersect this time or ended before this time (ISO 8601) | |
| nextToken | No | Next token from the previous response to get the next page |
Input Schema (JSON Schema)
{
"properties": {
"end": {
"description": "Return sleep records that intersect this time or ended before this time (ISO 8601)",
"type": "string"
},
"limit": {
"description": "Limit on the number of sleep records returned (max 25)",
"type": "number"
},
"nextToken": {
"description": "Next token from the previous response to get the next page",
"type": "string"
},
"start": {
"description": "Return sleep records that occurred after or during this time (ISO 8601)",
"type": "string"
}
},
"required": [],
"type": "object"
}