Get Genes for Disease
get_genes_for_diseaseQuery for genes linked to a disease using a CURIE like OMIM:106210. Control pagination and verbosity with limit, offset, and response mode.
Instructions
Return genes associated with a disease CURIE (e.g. OMIM:106210, ORPHA:550). Signature: get_genes_for_disease(disease_id, limit=, offset=, response_mode=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disease_id | Yes | A disease CURIE, e.g. 'OMIM:106210' (MIM Morbid) or 'ORPHA:550' (Orphanet). The prefix is case-sensitive. | |
| limit | No | Max genes to return (default 25). | |
| offset | No | Rows to skip for forward paging (default 0). | |
| response_mode | No | Verbosity: minimal|compact|standard|full (default compact). | compact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | ||
| _meta | No | ||
| error_code | No | ||
| message | No | ||
| retryable | No | ||
| recovery_action | No | ||
| field | No | ||
| allowed_values | No | ||
| hint | No | ||
| candidates | No | ||
| total | No | ||
| returned | No | ||
| limit | No | ||
| offset | No | ||
| next_offset | No | ||
| truncated | No | ||
| hpo_version | No | ||
| recommended_citation | No |