Get view
Returns a view snapshot: content.blocks (unified v2 model) plus content.temp when live TEMP rows exist.
GET
sdk:state-read
Parameters
Olira patient id.
View category slug.
Returns
ViewResult
Patient id.
View slug.
View instance id.
Validity window start.
Validity window end.
Typically keys blocks (list), temp (optional). Legacy keys may appear.
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. |

