You're viewing version 3.2 of the OpenSearch documentation. This version is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.
Index APIs
Introduced 1.0
The index API operations let you interact with indexes in your cluster. Using these operations, you can create, delete, close, and complete other index-related operations.
Index API operations
The following index API operations are available.
Index management
Index operations
- Clear index cache
- Clone index
- Flush
- Force merge
- Recover
- Refresh
- Rollover
- Scale
- Segments
- Shrink index
- Split
- Stats
Index settings and mappings
Index templates
- Create index template
- Delete index template
- Get index template
- Index template exists
- Simulate index template
- Component template
Legacy index templates
- Delete template (legacy)
- Get template (legacy)
- Post template (legacy)
- Put template (legacy)
- Template exists (legacy)
Index aliases
Index blocks and allocation
Data streams
Dangling indexes
If you use the Security plugin, make sure you have the appropriate permissions.