---
title: "Get all-time patient meal stats with optional bounded meal-window facts."
method: GET
path: "/patients/{patient_id}/stats"
tags: ["patient"]
---

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

`GET /patients/{patient_id}/stats`

## Path parameters

- `patient_id` integer, required

## Query parameters

- `today_iso` string, date — patient-local calendar date; must be supplied with limit
- `limit` integer — bounded meal count normalized to 1..500 using meals-table complete-day semantics; must be supplied with today_iso

## Response `200`

successful operation

- PatientStatsResponse
  - `care_team_experience_migration` CareTeamExperienceMigrationStats
    - `blueprint_reveal_eligible` boolean, required
    - `enabled_at` string, date-time, required
    - `enabled_local_date` string, date, required
    - `has_qualifying_meal_today` boolean, required
    - `patient_local_today` string, date, required
    - `qualifying_days_logged` integer, required
    - `third_qualifying_date` string, date, nullable, required
  - `logged_meal_dates_in_window` string[]
  - `meal_count_in_window` integer
  - `meal_count_today_in_window` integer
  - `patient_id` integer, required
  - `total_days_logged` integer, required
  - `total_meals_logged` integer, required

## Other responses

- `400` — invalid or incomplete bounded-window parameters

## Changes

- **2026-09-16** `081a2697c0f1` — 1 info
  - added the optional property `care_team_experience_migration` to the response with the `200` status
- **2026-09-03** `f06884d9c093` — 6 info
  - added the new optional `query` request parameter `limit`
  - added the new optional `query` request parameter `today_iso`
  - added the non-success response with the status `400`
  - added the optional property `logged_meal_dates_in_window` to the response with the `200` status
  - …2 more

[Change history](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/changes/patients/:patient_id/stats/get.md)

---

[API](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server.md) · [All operations](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/llms.txt) · [OpenAPI document](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/revisions/750cc0d96a93?raw)
