How can I list existing search templates?

I have created a search template in ElasticSearch, however unfortunately I forget its name so I am trying to retrieve it.

I tried the following ways:

  • GET /_search/template .
    This gives everything in ES.
  • GET /.script/_search
    It is from this post, but it is not working.

Can someone please help me? Thanks!

What version are you on?

I am on Elastic Cloud, using 2.3.1 now.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.