Query Templates
Query Templates in Releval define reusable, parameterized search requests using Mustache / Handlebars syntax. They allow you to dynamically construct search queries by substituting variables into request bodies and query strings. This enables consistent, flexible evaluation across varying query sets and configurations.
Templates support conditional logic, iteration, and raw JSON insertion via the toJson helper. When combined with
query sets, each query is rendered into a complete request, making it easy to test and compare different search
strategies. Templates can be tested via the Test Query Template API to validate output before full-scale evaluation.
Create Query Template
Creates a new query template.
List Query Templates
Lists the query templates available.
Delete Query Templates
Deletes the Query Templates given by the unique identifiers.
Update Query Template
Updates an existing Query Template.
Get Query Template
Gets the Query Template by ID.
Test Query Template with Query Set
Tests a Query Template by using it to render an existing Query Set.
Test Query Template
Tests a Query Template by using it to render a collection of provided queries.