Menu
Get a query ruleset
Get a query ruleset
GET
/_query_rules/{ruleset_id}Use it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get a query ruleset action (under query_rules).
- Fill in the fields below, then reference the result from later steps as
{{getAQueryRuleset.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getAQueryRuleset.response.data.<field>}}.
{
"ruleset_id": null,
"rules": [
{
"rule_id": null,
"type": null,
"criteria": null,
"actions": null,
"priority": 0
}
]
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?