IMPORTANT: No additional bug fixes or documentation updates will be released for this version. For the latest information, see the current release documentation.
« Explore API Add index alias API »
Elastic Docs ›Elasticsearch Guide [7.3] ›REST APIs

Index APIs

edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Index APIs

edit

Index APIs are used to manage individual indices, index settings, aliases, mappings, and index templates.

Index management:

edit
  • Create index
  • Delete index
  • Get index
  • Index exists
  • Close index
  • Open index
  • Shrink index
  • Split index
  • Rollover index
  • Freeze index
  • Unfreeze index

Mapping management:

edit
  • Put mapping
  • Get mapping
  • Get field mapping
  • Type exists

Alias management:

edit
  • Add index alias
  • Delete index alias
  • Get index alias
  • Index alias exists
  • Update index alias

Index settings:

edit
  • Update index settings
  • Get index settings
  • Analyze

Index templates:

edit
  • Put index template
  • Delete index template
  • Get index template
  • Index template exists

Monitoring:

edit
  • Index stats
  • Index segments
  • Index recovery
  • Index shard stores

Status management:

edit
  • Clear cache
  • Refresh
  • Flush
  • Synced flush
  • Force merge
« Explore API Add index alias API »

Most Popular

Video

Get Started with Elasticsearch

Video

Intro to Kibana

Video

ELK for Logs & Metrics