Batch Relationship Queries
Run multiple OMOP concept relationship queries in a single batched request for efficient bulk processing of mappings and vocabulary crosswalks.
Overview
This endpoint allows you to perform multiple relationship-related queries for multiple concepts in a single API call. It supports different operation types:relationships, related, and traverse.
Request Body
Array of relationship query requests (1-100 queries)
Query Parameters
Specific vocabulary release version (e.g., “2025.1”)
Response
Indicates whether the overall batch request was successful
Array of query results matching the input order
Response metadata
Usage Examples
Basic Batch Query
Get relationships for multiple concepts:Filtered by Relationship Type
Get only mapping relationships:Mixed Operations
Combine different operations in one batch:Important Notes
- Batch size limit: Maximum 100 queries per batch request
- Performance optimization: Batch processing is significantly more efficient than individual requests
- Error isolation: Individual query failures don’t affect other queries in the batch
- Result matching: Use
query_idto match results to your input queries - Rate limiting: Batch requests count as single requests for rate limiting purposes
Related Endpoints
- Get Concept Relationships - Single concept relationships
- Batch Hierarchy Queries - Batch hierarchy queries
- Traverse Relationships - Complex relationship traversals