get_run
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
| Parameter | Description |
|---|---|
run_idstring required | The run identifier from |
Response
| Field | Description |
|---|---|
algorithmstring required | |
createdstring | null required | |
inputobject required | The algorithm input, passed through as scheduled. |
modifiedstring | null required | |
outputobject | null required | The algorithm output, passed through. Empty until the run completes. |
provenanceobject | null required | |
provenance.inputsobject | null required | Null for runs that predate input tracking. |
provenance.inputs.chromosomesinteger required | Number of per-chromosome files the run read. |
provenance.inputs.stagestring | null required | Processing stage of the sample files the run read. |
provenance.sample_provenanceobject | 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_toolstring | null required | Tool of the imputation step, e.g. "beagle". |
provenance.sample_provenance.impute_reasonstring | null required | |
provenance.sample_provenance.is_imputedboolean | null required | |
provenance.sample_provenance.pipelineobject[] required | |
provenance.sample_provenance.pipeline[].finished_atstring | null required | |
provenance.sample_provenance.pipeline[].started_atstring | null required | |
provenance.sample_provenance.pipeline[].stepstring | null required | Step name, e.g. "beagle-impute". |
provenance.sample_provenance.pipeline[].toolsstring[] required | Tools the step ran, each as "name version". |
provenance.sample_provenance.processed_atstring | null required | |
provenance.sample_provenance.reference_panelstring | null required | Id of the imputation reference panel. |
provenance.sample_provenance.source_buildstring | null required | Genome build of the uploaded file, e.g. "GRCh37". |
provenance.sample_provenance.target_buildstring | null required | Genome build of the imputation reference panel. |
provenance.sample_provenance.variant_countinteger | null required | |
run_idstring required | |
sample_idstring | null required | Wallet sample_id the run was computed on. |
statusstring | null required | Pending, then Complete or Error. |
tasksobject[] required | |
tasks[].completed_atstring | null required | |
tasks[].current_stepstring | null required | |
tasks[].error_messagestring | null required | |
tasks[].estimated_duration_secondsnumber | null required | Average completion time of past tasks of this kind. |
tasks[].eta_seconds_remainingnumber | null required | |
tasks[].idstring required | |
tasks[].kindstring required | |
tasks[].started_atstring | null required | |
tasks[].statusstring | null required | pending, running, succeeded, failed or cancelled. |
tasks[].stepsobject[] | null required | The planned step sequence, passed through. |
tasks[].suggested_poll_interval_secondsinteger | null required | Wait this long before calling get_run again. |
versionstring required |