Health

Full sleep detail for the current user for a given night. Returns last-night summary, goal % and status label, Lucille insight, 7-day weekly avg, stage breakdown (when mobile sends category), quality %, sleep onset, RHR avg, and bedtime consistency. Defaults to today in the user's timezone (x-timezone header). Premium-only.

get/api/health/sleep/detail/me

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/health/sleep/detail/me
  • Auth
    HTTP bearer

Query parameters

datestring
Example:2026-05-14

Target date in YYYY-MM-DD format. Defaults to today in the timezone supplied via the x-timezone header (falls back to UTC).

Headers

x-timezonestring

IANA timezone string (e.g. "America/New_York"). Used to resolve "today" when no date param is supplied. Falls back to UTC.

Changes

No recorded changes to this operation across all 34 revisions of this API.