Coach

Mobile Coach API — "More" drill-in on the Sleep/Steps/HRV cards from health-insights (#7). metric: sleep | steps | hrv | rhr | active_minutes | stand_hours | blood_pressure. window: week/month/year (blood_pressure also accepts 6months). Requires health_data_consent_at.

get/api/coach/clients/{id}/health/trend/{metric}

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/coach/clients/{id}/health/trend/{metric}
  • Auth
    HTTP bearer

Path parameters

idnumber required
metricstring required

Query parameters

window'week' | 'month' | 'year' | '6months'

"week"=7 daily points, "month"=30 daily points (or 6months for blood_pressure), "year"=12 monthly-average points. Defaults to "week".

datestring
Example:2026-05-19

End-date anchor, YYYY-MM-DD

Changes

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