---
title: "Get all phenotype data"
method: GET
path: "/all_phenotype"
tags: ["Phenotype Data"]
---

# Get all phenotype data

`GET /all_phenotype`

## Request

- Base URL: `https://www.personalgenomes.org.uk/api/v1.3`
- URL: `https://www.personalgenomes.org.uk/api/v1.3/all_phenotype`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/docs/all_phenotype/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: Phenotype question and answer obtained through a participant-filled questionnaire for all PGP-UK participants
  - `hex_id` string: PGP-UK unique participant id
  - `data` object[]: Phenotype question and answer obtained through a participant-filled questionnaire
    - `name` string
    - `data` object[]
      - `question` string
      - `answer` string

## Other responses

- `404`: Data not found

## Changes

- **2026-07-14** `26f2eb33c4d8`: 1 breaking, 2 info
  - the `data/items/` response's property type changed from `array` to `object` for status `200`
  - added the optional property `data/items/data` to the response with the `200` status
  - added the optional property `data/items/name` to the response with the `200` status
- **2019-02-13** `5749dc6311d0`: 1 breaking, 2 warning
  - the `data/items/` response's property type changed from `object` to `array` for status `200`
  - removed the optional property `data/items/answer` from the response with the `200` status
  - removed the optional property `data/items/question` from the response with the `200` status
- **2018-12-11** `b25b9654e3d4`: 2 warning, 2 info
  - removed the optional property `data/items/data` from the response with the `200` status
  - removed the optional property `data/items/name` from the response with the `200` status
  - added the optional property `data/items/answer` to the response with the `200` status
  - added the optional property `data/items/question` to the response with the `200` status

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