v2

latestOpenAPI 3.1.02026-07-263155112.9 KB
entity-grid

Get case-phenotype grid for a disease

Returns a grid of cases (patients) and their phenotypes for a given disease.

The grid includes:
- **columns**: List of case entities with the disease
- **rows**: List of phenotypes observed across all cases
- **bins**: Body system categories (HistoPheno) with phenotype counts
- **cells**: Map of case:phenotype pairs to observation details

Use `direct=true` (default) to get only cases with exactly this disease.
Use `direct=false` to include cases with descendant diseases (subtypes).
get/v3/api/entity/{context_id}/case-phenotype-grid

Path parameters

context_idstring required

MONDO disease ID

Example:MONDO:0007078

MONDO disease ID

Query parameters

directboolean

Only include cases with exactly this disease

Only include cases with exactly this disease

limitinteger

Maximum number of cases (columns)

Maximum number of cases (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