Menu
Get all query rulesets
Get all query rulesets
GET
/_query_rulesUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get all query rulesets action (under query_rules).
- Fill in the fields below, then reference the result from later steps as
{{getAllQueryRulesets.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getAllQueryRulesets.response.data.<field>}}.
{
"count": 0,
"results": [
{
"ruleset_id": null,
"rule_total_count": 0,
"rule_criteria_types_counts": {},
"rule_type_counts": {}
}
]
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?