Update Query Template
PUT/api/v1/query-templates/:query_template_id
Updates an existing 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
- 200
- 400
- 404
OK
Bad Request
Not Found