Overview
This endpoint allows you to retrieve relationship information for multiple concepts in a single API call. It’s optimized for bulk operations and provides significant performance benefits when working with large sets of concepts.Request Body
Array of relationship query requests
Query Parameters
Specific vocabulary release version (e.g., “2024.1”)
Include full concept details in responses
Page number for paginated results
Range: Minimum value is 1. If page exceeds total pages, returns empty results with pagination metadata
Range: Minimum value is 1. If page exceeds total pages, returns empty results with pagination metadata
Number of batch query results per page
Range: 1-500. Maximum page size is 500 for performance reasons
Range: 1-500. Maximum page size is 500 for performance reasons
Response
Indicates whether the overall batch request was successful
Response metadata and API information
Array of relationship query results matching the input order
Summary statistics for the entire batch
Usage Examples
Basic Batch Query
Get relationships for multiple concepts:Filtered by Relationship Type
Get only mapping relationships:Mixed Query Configuration
Different configurations per concept: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 ordering: Results are returned in the same order as input queries
- Cache benefits: Frequently accessed concepts benefit from caching, improving response times
- Rate limiting: Batch requests count as single requests for rate limiting purposes
Related Endpoints
- Get Concept Relationships - Single concept relationships
- Traverse Relationships - Complex relationship traversals
- Get Relationship Options - Available relationship types