---
title: "Fetch structural variants for entrezGeneIds and molecularProfileIds or sampleMolecularIdentifiers"
method: POST
path: "/structuralvariant/fetch"
tags: ["Structural Variants"]
---

# Fetch structural variants for entrezGeneIds and molecularProfileIds or sampleMolecularIdentifiers

`POST /structuralvariant/fetch`

## Query parameters

- `entrezGeneIds` integer[]
- `molecularProfileIds` string[]
- `sampleMolecularIdentifiers[0].molecularProfileId` string
- `sampleMolecularIdentifiers[0].sampleId` string

## Request body

- StructuralVariantFilter
  - `entrezGeneIds` integer[]
  - `molecularProfileIds` string[]
  - `sampleMolecularIdentifiers` SampleMolecularIdentifier[]
    - `molecularProfileId` string
    - `sampleId` string

## Response `200`

OK

- StructuralVariant[]
  - `annotation` string
  - `breakpointType` string
  - `center` string
  - `comments` string
  - `connectionType` string
  - `dnaSupport` string
  - `driverFilter` string
  - `driverFilterAnn` string
  - `driverTiersFilter` string
  - `driverTiersFilterAnn` string
  - `eventInfo` string
  - `externalAnnotation` string
  - `length` integer
  - `molecularProfileId` string
  - `ncbiBuild` string
  - `normalPairedEndReadCount` integer
  - `normalReadCount` integer
  - `normalSplitReadCount` integer
  - `normalVariantCount` integer
  - `patientId` string
  - `rnaSupport` string
  - `sampleId` string
  - `sampleIdInternal` integer
  - `site1Chromosome` string
  - `site1Description` string
  - `site1EnsemblTranscriptId` string
  - `site1EntrezGeneId` integer
  - `site1Exon` integer
  - `site1HugoSymbol` string
  - `site1Position` integer
  - `site2Chromosome` string
  - `site2Description` string
  - `site2EffectOnFrame` string
  - `site2EnsemblTranscriptId` string
  - `site2EntrezGeneId` integer
  - `site2Exon` integer
  - `site2HugoSymbol` string
  - `site2Position` integer
  - `structuralVariantId` integer
  - `studyId` string
  - `tumorPairedEndReadCount` integer
  - `tumorReadCount` integer
  - `tumorSplitReadCount` integer
  - `tumorVariantCount` integer
  - `uniquePatientKey` string
  - `uniqueSampleKey` string
  - `variantClass` string

## Changes

- **2020-08-20** `579332e67218` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/waldronlab/apis/cbioportal-web-public-api-beta/changes/structuralvariant/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/e09d2caa7d71/schema)
