Coach

Changes to Mobile Coach API — "View trends" on a Client diary section. metric: water | movement | vitamins | vibes. Byte-for-byte mirror of the client's own GET /log/{metric}/trend (GET /vibe-log/trend for vibes), bucketed in the client's stored timezone. Vibes count every log, as the diary shows them. Requires coach_data_consent_at.

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