Anomaly Detection Indices API

Index APIs enable you to manage individual indices, index settings, aliases, mappings, and index templates.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 55

GET /_component_template/{name} Get component templates #
POST /_component_template/{name} Create or update a component template #
DELETE /_component_template/{name} Delete component templates #
HEAD /_component_template/{name} Check component templates #
POST /_dangling/{index_uuid} Import a dangling index #
DELETE /_dangling/{index_uuid} Delete a dangling index #
GET /_dangling Get the dangling indices #
PUT /{index}/_block/{block} Add an index block #
DELETE /{index}/_block/{block} Remove an index block #
POST /{index}/_analyze Get tokens from text analysis #
POST /{index}/_cache/clear Clear the cache #
POST /{index}/_clone/{target} Clone an index #
POST /{index}/_close Close an index #
GET /{index} Get index information #
PUT /{index} Create an index #
DELETE /{index} Delete indices #
HEAD /{index} Check indices #
POST /{index}/_aliases/{name} Create or update an alias #
DELETE /{index}/_aliases/{name} Delete an alias #
DELETE /_data_stream/{name}/_lifecycle Delete data stream lifecycles #
GET /_index_template/{name} Get index templates #
POST /_index_template/{name} Create or update an index template #
DELETE /_index_template/{name} Delete an index template #
HEAD /_index_template/{name} Check index templates #
GET /_template/{name} Get legacy index templates #
POST /_template/{name} Create or update a legacy index template #
DELETE /_template/{name} Delete a legacy index template #
HEAD /_template/{name} Check existence of index templates #
POST /{index}/_disk_usage Analyze the index disk usage #
GET /{index}/_alias/{name} Get aliases #
HEAD /{index}/_alias/{name} Check aliases #
GET /{index}/_field_usage_stats Get field usage stats #
GET /{index}/_flush Flush data streams or indices #
POST /{index}/_forcemerge Force a merge #
GET /{index}/_mapping/field/{fields} Get mapping definitions #
GET /{index}/_mapping Get mapping definitions #
POST /{index}/_mapping Update field mappings #
GET /{index}/_settings/{name} Get index settings #
POST /{index}/_open Open a closed index #
PUT /{index}/_settings Update index settings #
GET /{index}/_recovery Get index recovery information #
GET /{index}/_refresh Refresh an index #
POST /{index}/_reload_search_analyzers Reload search analyzers #
GET /_resolve/cluster/{name} Resolve the cluster #
POST /_resolve/index/{name} Resolve indices #
POST /{alias}/_rollover/{new_index} Roll over to a new index #
GET /{index}/_segments Get index segments #
GET /{index}/_shard_stores Get index shard stores #
POST /{index}/_shrink/{target} Shrink an index #
POST /_index_template/_simulate_index/{name} Simulate an index #
POST /_index_template/_simulate/{name} Simulate an index template #
POST /{index}/_split/{target} Split an index #
GET /{index}/_stats/{metric} Get index statistics #
POST /_aliases Create or update an alias #
POST /{index}/_validate/query Validate a query #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/anomaly-detection:anomaly-detection-indices-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

anomaly-detection-indices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elasticsearch Indices API
  license:
    name: Apache 2.0
    url: https://github.com/elastic/elasticsearch-specification/blob/main/LICENSE
  version: ''
  description: 'Elasticsearch provides REST APIs that are used by the UI components and can be called directly to configure and access Elasticsearch features.

    ## Documentation source and versions

    This documentation is derived from the `main` branch of the elasticsearch-specification repository. It is provided under license Attribution-NonCommercial-NoDerivatives 4.0 International.

    This documentation contains work-in-progress information for future Elastic Stack releases.'
  x-doc-license:
    name: Attribution-NonCommercial-NoDerivatives 4.0 International
    url: https://creativecommons.org/licenses/by-nc-nd/4.0/
  x-feedbackLink:
    label: Feedback
    url: https://github.com/elastic/docs-content/issues/new?assignees=&labels=feedback%2Ccommunity&projects=&template=api-feedback.yaml&title=%5BFeedback%5D%3A+
security:
- apiKeyAuth: []
- basicAuth: []
- bearerAuth: []
tags:


# --- truncated at 32 KB (904 KB total) ---
# Full source: https://artifacts.apis.io/anomaly-detection/openapi/anomaly-detection-indices-api-openapi.yml