# `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 | 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 |