---
title: "Get all genes"
method: GET
path: "/genes"
tags: ["Genes"]
---

# Get all genes

`GET /genes`

## Query parameters

- `alias` string
- `direction` 'ASC' | 'DESC'
- `keyword` string
- `pageNumber` integer
- `pageSize` integer
- `projection` 'DETAILED' | 'ID' | 'META' | 'SUMMARY'
- `sortBy` 'cytoband' | 'entrezGeneId' | 'hugoGeneSymbol' | 'length' | 'type'

## Response `200`

OK

- Gene[]
  - `entrezGeneId` integer, required
  - `geneticEntityId` integer, required
  - `hugoGeneSymbol` string, required
  - `type` string

---

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