Get logs
Reads ingested logs for the patient.
GET
sdk:state-read
SDK maps log_types query param to API event_types.
Parameters
Olira patient id.
ISO cursor — return logs after this time.
Page size.
Filter by log type strings (sent as event_types).
Filter by trace object_type.
Filter by trace object_id.
Returns
LogsResult
Patient id.
Returned count.
Log rows.
Log id.
Log type.
Timestamp.
Payload JSON.
Trace metadata.
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
get_eventsLists derived state events (processed pipeline events), optionally filtered by log_type / trace / status.
Next

