Skip to main content

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

conceptId
integer
required
The unique OMOP concept ID to get relationship options for

Query Parameters

vocab_release
string
Specific vocabulary release version (e.g., “2025.1”)

Response

success
boolean
required
Indicates whether the request was successful
data
object
required
Response data containing relationship options
meta
object
required
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