patient

Get all-time patient meal stats with optional bounded meal-window facts.

get/patients/{patient_id}/stats

Path parameters

patient_idinteger required

Query parameters

today_isostring date

patient-local calendar date; must be supplied with limit

Example:2026-08-31
limitinteger

bounded meal count normalized to 1..500 using meals-table complete-day semantics; must be supplied with today_iso

Example:60

Response

successful operation

logged_meal_dates_in_windowstring[]
meal_count_in_windowinteger
meal_count_today_in_windowinteger
patient_idinteger required
total_days_loggedinteger required
total_meals_loggedinteger required

Changes