---
title: "fetch generic_assay_data in a molecular profile"
method: POST
path: "/generic_assay_data/{molecularProfileId}/fetch"
tags: ["Generic Assay Data"]
---

# fetch generic_assay_data in a molecular profile

`POST /generic_assay_data/{molecularProfileId}/fetch`

## Path parameters

- `molecularProfileId` string, required

## Query parameters

- `projection` 'DETAILED' | 'ID' | 'META' | 'SUMMARY'

## Request body

- GenericAssayFilter
  - `genericAssayStableIds` string[]
  - `sampleIds` string[]
  - `sampleListId` string

## Response `200`

OK

- GenericAssayData[]
  - `genericAssayStableId` string, required
  - `molecularProfileId` string, required
  - `patientId` string, required
  - `sampleId` string, required
  - `stableId` string
  - `studyId` string, required
  - `uniquePatientKey` string
  - `uniqueSampleKey` string
  - `value` string, required

## Changes

- **2022-08-09** `d38cf5bee2e0` — 2 info
  - api tag `Generic Assay Data` added
  - api tag `Generic Assays` removed
- **2020-08-20** `579332e67218` — 1 info
  - endpoint added
- **2019-04-05** `df161d3dbe1b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/waldronlab/apis/cbioportal-web-public-api-beta/changes/generic_assay_data/:molecularProfileId/fetch/post.md)

---

[API](https://skmtc.dev/waldronlab/apis/cbioportal-web-public-api-beta.md) · [All operations](https://skmtc.dev/waldronlab/apis/cbioportal-web-public-api-beta/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/waldronlab/cbioportal-web-public-api-beta/revisions/99265965e66b/schema)
