Coach

Raw per-reading history for one metric type (blood_pressure, rhr, heart_rate, hrv, glucose, steps, weight, body_fat, bmi), with source attribution. Mirrors GET /health/metric-history/me. Requires health_data_consent_at.

get/api/coach/clients/{id}/health/metric-history

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/metric-history
  • Auth
    HTTP bearer

Path parameters

idnumber required

Query parameters

type'blood_pressure' | 'rhr' | 'heart_rate' | 'hrv' | 'glucose' | 'steps' | 'weight' | 'body_fat' | 'bmi' required
Example:blood_pressure

Which health metric to retrieve history for.

fromstring
Example:2026-01-01

Start of date range (ISO 8601). Defaults to 90 days ago.

tostring
Example:2026-06-12

End of date range (ISO 8601). Defaults to today.

limitnumber
Example:50

Max rows to return (1–500). Defaults to 100.

Changes

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