/entities/{name}Get Entity Profile
Retrieve the full profile for a cancer biology entity including metadata, relationships, and evidence provenance.
Only in Galen
Every relationship is annotated with a Pearl Causal Hierarchy layer (L1 association, L2 intervention, L3 counterfactual) and traced to its original data source. Unlike LLM-generated answers, every fact is provenance-grounded and independently verifiable.
Parameters
Path Parameters
| Name | Type | Req | Description |
|---|---|---|---|
name | string | Entity name — gene name (EGFR), drug name (erlotinib), disease (NSCLC), pathway (MAPK), mutation (BRAF_V600E), etc. Example: |
Query Parameters
| Name | Type | Req | Description |
|---|---|---|---|
max_relationships | integer | Maximum number of relationships to include in the response. Set to 0 for entity metadata only. Default: Example: |
Response Schema
idstringUnique entity identifiernamestringHuman-readable entity nameentity_typestringgene, drug, disease, pathway, mutation, protein, cell_line, or clinical_trialpropertiesobjectEntity-specific metadata — molecular weight for drugs, chromosome location for genes, etc.confidencefloatConfidence score from 0.0 to 1.0 based on evidence qualityprovenancestringOriginal data source that contributed this entityrelationship_countintegerTotal relationships across all typespch_summaryobjectDistribution of relationships across Pearl Causal Hierarchy layersl1_countintegerNumber of L1 (associational) relationshipsl2_countintegerNumber of L2 (interventional) relationshipsl3_countintegerNumber of L3 (counterfactual) relationshipsrelationshipsarrayTyped relationships to other entitiessource_idstringSource entity identifiertarget_idstringTarget entity identifierrelationship_typestringEdge type (e.g. targets, inhibits, mutated_in)confidencefloatRelationship confidence score (0.0–1.0)pch_layerintegerPearl Causal Hierarchy layer (1, 2, or 3)evidence_typestringType of supporting evidenceprovenancestringData source for this relationshipExample Request
import requests
resp = requests.get(
"https://research.usegalen.com/api/v1/entities/EGFR",
params={"max_relationships": 100},
headers={"X-API-Key": "YOUR_API_KEY"},
)
entity = resp.json()
print(f"{entity['name']} ({entity['entity_type']}) — {entity['relationship_count']} relationships")
print(f" PCH: L1={entity['pch_summary']['l1_count']}, L2={entity['pch_summary']['l2_count']}, L3={entity['pch_summary']['l3_count']}")Example Response
{
"id": "gene:egfr",
"name": "EGFR",
"entity_type": "gene",
"properties": {
"full_name": "Epidermal Growth Factor Receptor",
"chromosome": "7p11.2",
"uniprot_id": "P00533",
"gene_family": "Receptor tyrosine kinase",
"oncokb_annotated": true
},
"confidence": 0.97,
"provenance": "cosmic",
"relationship_count": 1342,
"pch_summary": {
"l1_count": 876,
"l2_count": 389,
"l3_count": 77
},
"relationships": [
{
"source_id": "drug:erlotinib",
"target_id": "gene:egfr",
"relationship_type": "targets",
"confidence": 0.96,
"pch_layer": 2,
"evidence_type": "experimental",
"provenance": "chembl_36"
},
{
"source_id": "gene:egfr",
"target_id": "disease:nsclc",
"relationship_type": "driver_in",
"confidence": 0.94,
"pch_layer": 2,
"evidence_type": "clinical_genomics",
"provenance": "cbioportal"
},
{
"source_id": "gene:egfr",
"target_id": "pathway:mapk_signaling",
"relationship_type": "member_of",
"confidence": 0.99,
"pch_layer": 1,
"evidence_type": "curated",
"provenance": "reactome"
},
{
"source_id": "mutation:egfr_l858r",
"target_id": "gene:egfr",
"relationship_type": "variant_in_gene",
"confidence": 0.98,
"pch_layer": 1,
"evidence_type": "curated",
"provenance": "cosmic"
},
{
"source_id": "drug:osimertinib",
"target_id": "gene:egfr",
"relationship_type": "targets",
"confidence": 0.97,
"pch_layer": 2,
"evidence_type": "experimental",
"provenance": "chembl_36"
}
]
}Try It
Path Parameters
Entity name — gene name (EGFR), drug name (erlotinib), disease (NSCLC), pathway (MAPK), mutation (BRAF_V600E), etc.
Query Parameters
Maximum number of relationships to include in the response. Set to 0 for entity metadata only.
GET https://research.usegalen.com/api/v1/entities/{name}Related Endpoints