Create Query Template
POST/api/v1/query-templates
Creates a new query template.
Query templates are Mustache / Handlebars templates that generate dynamic HTTP request bodies and query strings. These templates support variable substitution, conditional logic, and iteration, allowing for flexible request construction.
A query template can be used in conjunction with a query set to generate a collection of search requests to execute against a search endpoint. Each search request is created by applying each query in a query set to the query template, producing fully-formed search requests tailored to specific input data.
This allows for dynamic and reusable query definitions, enabling efficient execution of parameterized search requests across different datasets.
Request
Responses
- 201
- 400
- 403
Created
Bad Request
Forbidden