Overview
This endpoint returns hierarchical positioning information for a concept, including its level in the taxonomy tree, distance from root concepts, and depth metrics. This is essential for understanding concept granularity and hierarchy navigation.Path Parameters
The unique OMOP concept ID to get level information for
Query Parameters
Filter to specific vocabulary (uses concept’s primary vocabulary if not specified)
Relationship type to use for hierarchy calculation (e.g., “Is a”, “Subsumes”)
Include sample paths to root concepts
Specific vocabulary release version (e.g., “2024.1”)
Response
Indicates whether the request was successful
Response data containing concept level information
Response metadata and API information
Usage Examples
Basic Level Information
Get hierarchy level for a concept:Level with Sample Paths
Get level information including sample paths to root:Specific Relationship Type
Use different relationship type for hierarchy calculation:Important Notes
- Multiple paths - Concepts may have multiple paths to root concepts with different lengths
- Granularity classification - Helps understand concept specificity level
- Performance - Including paths increases response time but provides valuable context
- Vocabulary differences - Hierarchy depth varies significantly between vocabularies
- Relationship types - Different relationship types may produce different hierarchy views
Related Endpoints
- Get Concept Hierarchy - Full hierarchical tree
- Get Concept Ancestors - Parent concepts
- Get Concept Descendants - Child concepts