---
title: "Get all genotype data"
method: GET
path: "/all_genotype"
tags: ["Genotype Data"]
---

# Get all genotype data

`GET /all_genotype`

## Request

- Base URL: `https://www.personalgenomes.org.uk/api/v1.3`
- URL: `https://www.personalgenomes.org.uk/api/v1.3/all_genotype`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/docs/all_genotype/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: Genotype data for all PGP-UK participants
  - `hex_id` string: PGP-UK unique participant id
  - `data` object[]: Genotype data
    - `published` string
    - `file_source` string
    - `date` string
    - `description` string
    - `download_url` string
    - `data_type` string
    - `name` string
    - `pgp_hex_id` string
    - `type` string

## Other responses

- `404`: Data not found

## Changes

- **2018-12-11** `6135620adae7`: 1 warning, 9 info
  - removed the optional property `data/items/test` from the response with the `200` status
  - added the optional property `data/items/data_type` to the response with the `200` status
  - added the optional property `data/items/date` to the response with the `200` status
  - added the optional property `data/items/description` to the response with the `200` status
  - …6 more
- **2018-12-11** `b25b9654e3d4`: 9 warning, 1 info
  - removed the optional property `data/items/data_type` from the response with the `200` status
  - removed the optional property `data/items/date` from the response with the `200` status
  - removed the optional property `data/items/description` from the response with the `200` status
  - removed the optional property `data/items/download_url` from the response with the `200` status
  - …6 more

[Operation history](https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/changes/all_genotype/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)
