get_run

read-onlyidempotent

Get a run's status, input, output, and step-by-step task progress.

Returns the run's status (Pending, then Complete or Error), its input and output (output is empty until the run completes), and its tasks — the underlying execution steps. Each task carries steps (the planned step sequence) and current_step (where it is now), so you can tell the user not just "Pending" but "imputation running, on the phasing step". Tasks also carry timing: estimated_duration_seconds is the average completion time from past runs of that kind, and eta_seconds_remaining says how long an in-flight task has left. Poll this tool to watch an async run progress, waiting suggested_poll_interval_seconds between polls.

provenance traces a result (e.g. a PGS score reached via its result_id) back to its source from two independent siblings: inputs — what the run consumed (stage + chromosome count), run-derived; and sample_provenance — how the run's input sample was produced (imputation pipeline, reference panel, builds), sample-derived. Either may be null on its own (a legacy run with no recorded inputs over a reprocessed sample shows sample_provenance only); provenance itself is null only when *both* are absent.

Parameters

run_id
string
required

The run identifier from schedule_run or list_runs.

Response

algorithm
string
required
created
string | null
required
input
object
required

The algorithm input, passed through as scheduled.

modified
string | null
required
output
object | null
required

The algorithm output, passed through. Empty until the run completes.

provenance
object | null
required
provenance.inputs
object | null
required

Null for runs that predate input tracking.

provenance.inputs.chromosomes
integer
required

Number of per-chromosome files the run read.

provenance.inputs.stage
string | null
required

Processing stage of the sample files the run read.

provenance.sample_provenance
object | null
required

How the run's input sample was produced. Null when the sample predates provenance or could not be read.

provenance.sample_provenance.imputation_tool
string | null
required

Tool of the imputation step, e.g. "beagle".

provenance.sample_provenance.impute_reason
string | null
required
provenance.sample_provenance.is_imputed
boolean | null
required
provenance.sample_provenance.pipeline
object[]
required
provenance.sample_provenance.pipeline[].finished_at
string | null
required
provenance.sample_provenance.pipeline[].started_at
string | null
required
provenance.sample_provenance.pipeline[].step
string | null
required

Step name, e.g. "beagle-impute".

provenance.sample_provenance.pipeline[].tools
string[]
required

Tools the step ran, each as "name version".

provenance.sample_provenance.processed_at
string | null
required
provenance.sample_provenance.reference_panel
string | null
required

Id of the imputation reference panel.

provenance.sample_provenance.source_build
string | null
required

Genome build of the uploaded file, e.g. "GRCh37".

provenance.sample_provenance.target_build
string | null
required

Genome build of the imputation reference panel.

provenance.sample_provenance.variant_count
integer | null
required
run_id
string
required
sample_id
string | null
required

Wallet sample_id the run was computed on.

status
string | null
required

Pending, then Complete or Error.

tasks
object[]
required
tasks[].completed_at
string | null
required
tasks[].current_step
string | null
required
tasks[].error_message
string | null
required
tasks[].estimated_duration_seconds
number | null
required

Average completion time of past tasks of this kind.

tasks[].eta_seconds_remaining
number | null
required
tasks[].id
string
required
tasks[].kind
string
required
tasks[].started_at
string | null
required
tasks[].status
string | null
required

pending, running, succeeded, failed or cancelled.

tasks[].steps
object[] | null
required

The planned step sequence, passed through.

tasks[].suggested_poll_interval_seconds
integer | null
required

Wait this long before calling get_run again.

version
string
required