get_sample
Get details about a specific sample by its sample_id.
Returns filename, file size, processing timestamp, upload request ID, and HaploHub metadata when available. provenance describes how the sample was produced — the imputation pipeline, tools, reference panel, and source→target genome build — or null for samples processed before provenance was recorded.
Parameters
| Parameter | Description |
|---|---|
sample_idstring required | The sample identifier (e.g. "ABCDEFGHIJ001") from |
Response
| Field | Description |
|---|---|
file_sizeinteger required | Size of the uploaded file in bytes. |
labelstring required | Short display name, e.g. "Sample #1". |
processed_atstring required | |
provenanceobject | null required | Null for samples processed before provenance was recorded, and when the upstream lookup failed. |
provenance.imputation_toolstring | null required | Tool of the imputation step, e.g. "beagle". |
provenance.impute_reasonstring | null required | |
provenance.is_imputedboolean | null required | |
provenance.pipelineobject[] required | |
provenance.pipeline[].finished_atstring | null required | |
provenance.pipeline[].started_atstring | null required | |
provenance.pipeline[].stepstring | null required | Step name, e.g. "beagle-impute". |
provenance.pipeline[].toolsstring[] required | Tools the step ran, each as "name version". |
provenance.processed_atstring | null required | |
provenance.reference_panelstring | null required | Id of the imputation reference panel. |
provenance.source_buildstring | null required | Genome build of the uploaded file, e.g. "GRCh37". |
provenance.source_uploadobject required | The uploaded file a sample came from. |
provenance.source_upload.filenamestring required | |
provenance.source_upload.uploaded_atstring required | |
provenance.target_buildstring | null required | Genome build of the imputation reference panel. |
provenance.variant_countinteger | null required | |
sample_idstring required | Pass this to get_sample, |
source_filenamestring required | |
upload_request_idstring required | |
haplohub_createdstring | null optional | When HaploHub created the sample. Absent when the upstream lookup failed. |