Menu
Get an ES|QL view (GET /_query/view)
Get an ES|QL view
GET
/_query/viewUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get an ES|QL view (GET /_query/view) action (under esql).
- Fill in the fields below, then reference the result from later steps as
{{getAnEsQlViewGetQueryView.response.data}}.
Fields
Response
Returns 200 with an object. Read it in later steps with {{getAnEsQlViewGetQueryView.response.data.<field>}}.
{
"views": [
{
"name": "string",
"query": "string"
}
]
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?