Files
elasticsearch-js/docs/reference/api/QueryRulesTestRequest.md
2025-05-28 10:02:30 -05:00

9 lines
731 B
Markdown

# `QueryRulesTestRequest` [interface-QueryRulesTestRequest]
| Name | Type | Description |
| - | - | - |
| `body` | string | ({ [key: string]: any; } & { ruleset_id?: never; match_criteria?: never; }) | All values in `body` will be added to the request body. |
| `match_criteria` | Record<string, any> | The match criteria to apply to rules in the given query ruleset. Match criteria should match the keys defined in the `criteria.metadata` field of the rule. |
| `querystring` | { [key: string]: any; } & { ruleset_id?: never; match_criteria?: never; } | All values in `querystring` will be added to the request querystring. |
| `ruleset_id` | [Id](./Id.md) | The unique identifier of the query ruleset to be created or updated |