indices.getTemplate

edit
client.indices.getTemplate({
  name: string | string[],
  flat_settings: boolean,
  master_timeout: string,
  local: boolean
})

Reference

name

string | string[] - The comma separated names of the index templates

flat_settings or flatSettings

boolean - Return settings in flat format (default: false)

master_timeout or masterTimeout

string - Explicit operation timeout for connection to master node

local

boolean - Return local information, do not retrieve the state from master node (default: false)