Skip to main content
GET
/
v1
/
ingestion
/
jobs
import olira

olira.init(api_key="YOUR_API_KEY")
result = olira.list_ingestion_jobs(page=1, page_size=20)
print(result.total, len(result.jobs))
IngestionJobListResult(
    jobs=[IngestionJob(job_id="ing-job-001", status="completed", ...)],
    total=1,
    page=1,
    page_size=20,
)
olira.list_ingestion_jobs(
    idempotency_key: str | None = None,
    page: int = 1,
    page_size: int = 20,
) -> IngestionJobListResult
Requires scope: sdk:historical-ingest Filter by idempotency_key to find a specific job.

Parameters

idempotency_key
str | None
Filter to the job created with this key.
page
int
default:"1"
Page number (1-based).
page_size
int
default:"20"
Results per page.

Returns

IngestionJobListResult
jobs
list[IngestionJob]
Job summaries.
total
int
Total matching jobs.
page
int
Current page.
page_size
int
Page size.

Raises

ExceptionWhen
AuthErrorHTTP 401 or 403 — invalid API key or insufficient OAuth scope for this endpoint.
ValidationErrorHTTP 400, 404, or 422 — malformed JSON, unknown patient, or validation failure (message includes response excerpt).
ServerErrorHTTP 409 (e.g. conflicting external identifier) or repeated 5xx after retries; includes status_code when applicable.
RateLimitErrorHTTP 429 — rate limited; check retry_after (seconds).
NetworkErrorConnection timeout, DNS failure, or read error after retries.
import olira

olira.init(api_key="YOUR_API_KEY")
result = olira.list_ingestion_jobs(page=1, page_size=20)
print(result.total, len(result.jobs))
IngestionJobListResult(
    jobs=[IngestionJob(job_id="ing-job-001", status="completed", ...)],
    total=1,
    page=1,
    page_size=20,
)