v2

latestOpenAPI 3.1.02026-07-263155112.9 KB
entity-grid

Get disease-phenotype grid for a gene

Returns a grid of diseases and their phenotypes for a given gene.

The grid shows diseases causally associated with the gene and the
phenotypes associated with each disease.

- **columns**: List of disease entities associated with the gene
- **rows**: List of phenotypes observed across all diseases
- **bins**: Body system categories (HistoPheno) with phenotype counts
- **cells**: Map of disease:phenotype pairs to observation details
get/v3/api/entity/{context_id}/disease-phenotype-grid

Path parameters

context_idstring required

Gene ID (e.g., HGNC ID)

Example:HGNC:4851

Gene ID (e.g., HGNC ID)

Query parameters

directboolean

Only include directly associated diseases

Only include directly associated diseases

limitinteger

Maximum number of diseases (columns)

Maximum number of diseases (columns)

Response

Successful Response

context_idstring required

The identifier of the context entity (e.g., disease, gene)

context_namestring nullable

The name of the context entity

context_categorystring required

The biolink category of the context entity

total_columnsinteger required

Total number of column entities in the grid

total_rowsinteger required

Total number of row entities in the grid

cellsobject required

Map of column_id:row_id to cell data