oura_get_sleep_detail
Retrieve per-night sleep architecture with stage breakdowns, timing, and metrics. Use after a daily summary for detailed sleep analysis.
Instructions
Per-night sleep architecture for drilling into specific nights.
Use after oura_get_daily_summary when you need stage breakdown or sleep timing. One row per sleep period (a day may have a nap plus the main sleep).
Concise CSV columns: date, type, bedtime_start, bedtime_end, total_sleep_h, time_in_bed_h, deep_h, rem_h, light_h, awake_h, efficiency_pct, latency_min, avg_hr_bpm, lowest_hr_bpm, avg_hrv_ms, resp_rate_brpm
Defaults to the last 14 days. Use 'detailed' for raw fields and 5-min hypnogram.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ISO end date (YYYY-MM-DD), inclusive. Defaults to today. | |
| start_date | No | ISO start date (YYYY-MM-DD). Defaults to a 14-day window ending at end_date. | |
| response_format | No | 'concise' = CSV of key metrics; 'detailed' = full JSON incl. period ids and timeseries. | concise |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |