Get Relationship Options
Get the list of available relationship types for a specific OMOP concept so you can filter, paginate, or traverse only the links you care about.
Overview
This endpoint returns all available relationship types that exist for a specific concept. This is useful for building dynamic UI components like dropdowns and understanding what relationships are available for a concept.Path Parameters
The unique OMOP concept ID to get relationship options for
Query Parameters
Specific vocabulary release version (e.g., “2025.1”)
Response
Indicates whether the request was successful
Response data containing relationship options
Response metadata
Usage Examples
Basic Relationship Options
Get all available relationship types for a concept:With Specific Vocabulary Version
Get relationship options for a specific vocabulary release:UI Dropdown Integration
Use in a dropdown component:TypeScript
Important Notes
- Dynamic options - Available relationship types vary by concept
- Both directions - Returns relationships where the concept is either source or target
- Valid only - Only returns relationships with valid (non-deprecated) status
Related Endpoints
- Get Concept Relationships - Get actual relationships for a concept
- Get Relationship Types - Get all relationship types in the system