Get index template information

  • GET /_cat/templates/{name}
  • GET /_cat/templates

Get information about the index templates in a cluster. You can use index templates to apply index settings and field mappings to new indices at creation. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get index template API.

  • Cluster privileges: monitor

Path Parameters

name string Name optional

The name of the template to return. Accepts wildcard expressions. If omitted, all templates are returned.

Leave it out to use /_cat/templates.

Response