Skip to main content
Get a specific patient view snapshot. Prefer view_id from list_views_and_blocks when available (single DB read).

Parameters

ParameterRequiredTypeDescription
patient_idYesstringPatient user ID
view_idNostringSummarySnapshotDocument _id (fast path: single snapshot read)
view_typeNostringView type when view_id is not used (e.g. symptom_snapshot)
date_fromNostring (ISO 8601)Inclusive lower bound on snapshot created_at. Resolves to the latest version per view in the window. Ignored when view_id is set.
date_toNostring (ISO 8601)Inclusive upper bound on snapshot created_at.
formatNo"raw" or "markdown"Output format (default: raw). "pretty" is accepted as a deprecated alias for "markdown".

Example output

Illustrative:
## Symptom snapshot (past 7 days)
- Fatigue and pain remain the dominant concerns.
- Sleep quality improved slightly vs the prior week.