Sleep Cycle
communitySmart alarm and sleep tracker — analyzes sleep patterns and wakes you in lightest sleep phase
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
/api/sleepGet sleep data
Parameters
datestringoptionalReturns
sleep_quality_percent, duration, time_in_bed, fell_asleep, woke_up, stages{awake, light, deep}, snoring_minutes, regularity_scoreGET
/api/trendsGet sleep trends
Parameters
periodstringoptionalReturns
avg_quality, avg_duration, avg_bedtime, avg_wake_time, best_day, worst_day, regularity_trend, snoring_trendGET
/api/notesGet sleep notes correlations
Returns
factors[] with name, positive_impact, negative_impact, occurrences — exercise|caffeine|alcohol|stress|screen_time