Get an ES|QL view
- GET /_query/view/{name}
- GET /_query/view
Path Parameters
-
namestring Idoptional -
The comma-separated view names to retrieve.
Leave it out to use
/_query/view.
Response
application/json
-
viewsESQLViewrequired -
namestringrequired -
The name of the ES|QL view
-
querystringrequired -
The ES|QL query
-
descriptionstring -
A free-text description of the view.