Skip to main content
Get recent entries for the live segment (temp) of a view: events as they arrive, before slower summarization steps.

Parameters

ParameterRequiredTypeDescription
patient_idYesstringPatient user ID
view_typeYesstringView type (e.g., symptom_snapshot, medication_snapshot)
date_fromNostring (ISO 8601)Inclusive lower bound on snapshot created_at. Resolves to the latest version of the view in the window.
date_toNostring (ISO 8601)Inclusive upper bound on snapshot created_at.
limitNointegerMaximum number of recent entries to return (default: 50)
formatNo"raw" or "markdown"Output format (default: raw). "pretty" is accepted as a deprecated alias for "markdown".

Example output

Illustrative:
[
  {
    "timestamp": "2026-03-18T08:42:00Z",
    "summary": "Patient reported mild nausea after morning dose."
  }
]