Query parameters
- local
boolean If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.
- flat_settings
boolean If true, returns settings in flat format.
- master_timeout
string Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
Values are
-1
or0
. - include_defaults
boolean If true, returns all relevant default configurations for the index template.
GET /_index_template
curl \
--request GET 'http://api.example.com/_index_template' \
--header "Authorization: $API_KEY"