Skip to main content
POST
/
v1
/
ingestion
/
jobs
/
{job_id}
/
retry-backfill
import olira

olira.init(api_key="YOUR_API_KEY")
job = olira.retry_view_backfill(job_id="ing-job-001")
IngestionJob(
    job_id="ing-job-001",
    status="backfilling",
    stage="backfilling",
)
olira.retry_view_backfill(job_id: str) -> IngestionJob
Requires scope: sdk:historical-ingest Patient and log data remain intact; only the ViewBackfillJob is re-run.

Parameters

job_id
str
required
Job id in completed_with_errors.

Returns

IngestionJob
job_id
str
Job id.
status
str
backfilling after retry.

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")
job = olira.retry_view_backfill(job_id="ing-job-001")
IngestionJob(
    job_id="ing-job-001",
    status="backfilling",
    stage="backfilling",
)