Get event state module
Fetches one event state module payload by type.
GET
sdk:state-read
Parameters
Olira patient id.
Module type from list_event_state_modules.
Returns
EventStateModuleResult
Patient id.
Module type.
Module body.
Created at.
Updated at.
Raises
| Exception | When |
|---|---|
AuthError | HTTP 401 or 403 — invalid API key or insufficient OAuth scope for this endpoint. |
ValidationError | HTTP 400, 404, or 422 — malformed JSON, unknown patient, or validation failure (message includes response excerpt). |
ServerError | HTTP 409 (e.g. conflicting external identifier) or repeated 5xx after retries; includes status_code when applicable. |
RateLimitError | HTTP 429 — rate limited; check retry_after (seconds). |
NetworkError | Connection timeout, DNS failure, or read error after retries. |
Previous
list_viewsLists view metadata for the patient (view_type, view_id, has_blocks, has_temp).
Next

