---
title: "Get all variant data"
method: GET
path: "/all_variant"
tags: ["Variant Data"]
---

# Get all variant data

`GET /all_variant`

## Request

- Base URL: `https://www.personalgenomes.org.uk/api/v1.3`
- URL: `https://www.personalgenomes.org.uk/api/v1.3/all_variant`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/docs/all_variant/get.ts> (a function with typed inputs; its response is checked against the schema)

This will return an object containing all the data for all PGP-UK participants.

## Response `200`

Success

- object: Variant data for all PGP-UK participants
  - `hex_id` string: PGP-UK unique participant id
  - `data` object[]: Variant data
    - `test` string
    - `analysis_accession` string
    - `study_accession` string
    - `secondary_study_accession` string
    - `sample_accession` string
    - `secondary_sample_accession` string
    - `analysis_title` string
    - `analysis_type` string
    - `center_name` string
    - `first_public` string
    - `last_updated` string
    - `study_title` string
    - `tax_id` string
    - `scientific_name` string
    - `analysis_alias` string
    - `study_alias` string
    - `submitted_bytes` string
    - `submitted_md5` string
    - `submitted_ftp` string
    - `submitted_aspera` string
    - `submitted_galaxy` string
    - `sample_alias` string
    - `broker_name` string
    - `sample_title` string
    - `type` string
    - `meta_data_source` string

## Other responses

- `404`: Data not found

## Changes

- **2018-12-12** `16553e3027b1`: 25 info
  - added the optional property `data/items/analysis_accession` to the response with the `200` status
  - added the optional property `data/items/analysis_alias` to the response with the `200` status
  - added the optional property `data/items/analysis_title` to the response with the `200` status
  - added the optional property `data/items/analysis_type` to the response with the `200` status
  - …21 more
- **2018-12-11** `b25b9654e3d4`: 25 warning
  - removed the optional property `data/items/analysis_accession` from the response with the `200` status
  - removed the optional property `data/items/analysis_alias` from the response with the `200` status
  - removed the optional property `data/items/analysis_title` from the response with the `200` status
  - removed the optional property `data/items/analysis_type` from the response with the `200` status
  - …21 more

[Operation history](https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/changes/all_variant/get.md)

---

[API](https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk.md) - [All operations](https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/llms.txt) - [OpenAPI document](https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/revisions/26f2eb33c4d8?raw)
