get_sleep
Retrieve sleep entries for a FitTrack user, optionally filtering by date or sleep hours range. If no date is provided, today's data is returned; if no hours range is given, only entries with positive sleep hours are included.
Instructions
Returns sleep entries for the authenticated FitTrack user. Optional inputs: date as YYYY-MM-DD, hours_min, and hours_max. If date is omitted, today's date is used. If no sleep-hours range is provided, only entries with hours greater than zero are returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| hours_max | No | ||
| hours_min | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |