Back to catalog
Cortexa research tool·genomics·ols
Ols Get Term Ancestors
Get ancestor terms of a specific term in an ontology. Use `term_id` with CURIE format (e.g., 'HP:0001928') — the ontology is auto-inferred from the prefix. Or supply `term_iri` + `ontology` explicitly.
Livelast probed 2026-04-30 23:07Z· 119msCortexa
Status
The most recent probe succeeded. Safe to call from the agent today.
- Last probed
- 1d ago
- Last success
- 1d ago
- Last latency
- 119ms
Schema
JSON Schema the agent (or your API call) must match.
{
"properties": {
"include_obsolete": {
"default": false,
"description": "Include obsolete terms (default: false)",
"type": "boolean"
},
"ontology": {
"description": "Ontology ID (e.g., 'hp', 'go', 'efo'). Auto-inferred from term_id prefix when not supplied.",
"type": "string"
},
"operation": {
"const": "get_term_ancestors",
"description": "The operation to perform (get_term_ancestors)",
"type": "string"
},
"size": {
"default": 20,
"description": "Number of results to return (default: 20)",
"type": "integer"
},
"term_id": {
"description": "Short-form CURIE (e.g., 'HP:0001928', 'GO:0008150'). Ontology is auto-inferred from prefix.",
"type": "string"
},
"term_iri": {
"description": "The full IRI of the term (e.g., http://www.ebi.ac.uk/efo/EFO_0000408)",
"type": "string"
}
},
"required": [],
"type": "object"
}Examples (1)
Default Ols Get Term Ancestors call
public-safeinput
{
"include_obsolete": false,
"size": 1
}Expected response keys: success
Anonymous-safe example. Rate-limited; no sign-in required.
Identifiers
- Catalog ID
- tu_ols_get_term_ancestors
- Tool name
- ols_get_term_ancestors
- Added
- 2026-04-30 22:47Z
- Tags
- tooluniverse