Health

Paginated history for a single health metric. Supported types: blood_pressure, rhr, heart_rate, hrv, glucose, steps, weight, body_fat, bmi. blood_pressure returns systolic/diastolic pairs. steps returns daily totals. All others return individual readings. Results ordered newest-first. Premium-only.

get/api/health/metric-history/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/metric-history/me
  • Auth
    HTTP bearer

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.