Index APIs are used to manage individual indices, index settings, aliases, mappings, and index templates.
Index templates automatically apply settings, mappings, and aliases to new indices. They are most often used to configure rolling indices for time series data to ensure that each new index has the same configuration as the previous one. The index template associated with a data stream configures its backing indices. For more information, see Index Templates.