Skip to main content
POST
Requires scope: sdk:state-read Omit patient_ids (or pass None) for org-wide queries; pass a list to restrict to a cohort. All chainable builder methods are identical to logs — see that entry.

Parameters

list[str] | None
default:"None"
Cohort of patient ids. None = whole org. Omitting queries all patients org-wide — use filters and limits when running at scale.

Returns

LogQueryResult — Same shape as logs — call .execute() or another terminal to run.
int
Total rows matched.
list[dict]
Log dicts or aggregated dicts.
str | None
Echo of the org id.
str | None
Null for population queries.

Raises