Menu
Get an ES|QL view (GET /_query/view/{name})
Get an ES|QL view
GET
/_query/view/{name}Use it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get an ES|QL view (GET /_query/view/{name}) action (under esql).
- Fill in the fields below, then reference the result from later steps as
{{getAnEsQlViewGetQueryViewName.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getAnEsQlViewGetQueryViewName.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?