Total sleep debt over recent nights with a paced recovery plan
saylorinnovations.com/api/sleep/debt
Total sleep debt over recent nights with a paced recovery plan
GET
https://saylorinnovations.com/api/sleep/debtUptime100% of 1 check in 30 days
30 days agoToday
Call it from an agent
curl -i "https://saylorinnovations.com/api/sleep/debt?hours=6%2C5.5%2C6.5%2C6%2C6%2C8.5%2C7.5&need_hours=8&recovery_extra_minutes=45" # 402 Payment Required comes back with the price and where to pay.
Example input
{
"hours": "6,5.5,6.5,6,6,8.5,7.5",
"need_hours": "8",
"recovery_extra_minutes": "45"
}