timeseries
Hypnogram
get/v2/timeseries/{user_id}/hypnogram
Path parameters
user_idstring uuid required
Query parameters
providerstring
Provider oura/strava etc
Provider oura/strava etc
start_datestring required
Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00
Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00
end_datestring nullable
Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59
Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59
Response
Successful Response
Example response
[
{
"end": "2023-02-13T14:57:24+00:00",
"start": "2023-02-13T14:30:52+00:00",
"unit": "stage",
"value": 1
}
]