Skip to main content
GET
/
v1
/
health
/
sleep
Sleep Cycles
curl --request GET \
  --url https://api.example.com/v1/health/sleep \
  --header 'X-API-Key: <api-key>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Query Parameters

wake_time
string

Desired wake time (HH:MM)

sleep_time
string

Desired sleep time (HH:MM)

Response

Successful Response