# Anomaly Detection Indices API

**Canonical:** https://apis.io/apis/anomaly-detection/anomaly-detection-indices-api/  
**Provider:** Anomaly Detection — https://apis.io/providers/anomaly-detection/  
**Base URL:** https://api.cognitive.microsoft.com  
**Documentation:** https://learn.microsoft.com/en-us/azure/ai-services/anomaly-detector/overview

Anomaly Detection Indices API is one of 49 APIs that [Anomaly Detection](https://apis.io/providers/anomaly-detection/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Indices. The published artifact set on APIs.io includes an OpenAPI specification.

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

## Operations (55)

| Method | Path | Summary |
|---|---|---|
| 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 |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/anomaly-detection/openapi/anomaly-detection-indices-api-openapi.yml

## Other Anomaly Detection APIs (12)

- [Azure AI Anomaly Detector](https://apis.io/apis/anomaly-detection/azure-ai-anomaly-detector/)
- [Elasticsearch Anomaly Detection API](https://apis.io/apis/anomaly-detection/elasticsearch-anomaly-detection-api/)
- [Datadog Anomaly Monitor API](https://apis.io/apis/anomaly-detection/datadog-anomaly-monitor-api/)
- [AWS Lookout for Metrics](https://apis.io/apis/anomaly-detection/aws-lookout-for-metrics/)
- [PyOD (Python Outlier Detection)](https://apis.io/apis/anomaly-detection/pyod-python-outlier-detection/)
- [Anomaly Detection Analytics API](https://apis.io/apis/anomaly-detection/anomaly-detection-analytics-api/)
- [Anomaly Detection Cat API](https://apis.io/apis/anomaly-detection/anomaly-detection-cat-api/)
- [Anomaly Detection Ccr API](https://apis.io/apis/anomaly-detection/anomaly-detection-ccr-api/)
- [Anomaly Detection Cluster API](https://apis.io/apis/anomaly-detection/anomaly-detection-cluster-api/)
- [Anomaly Detection Connector API](https://apis.io/apis/anomaly-detection/anomaly-detection-connector-api/)
- [Anomaly Detection data stream API](https://apis.io/apis/anomaly-detection/anomaly-detection-data-stream-api/)
- [Anomaly Detection Document API](https://apis.io/apis/anomaly-detection/anomaly-detection-document-api/)

## Tags

Indices

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/anomaly-detection/anomaly-detection-indices-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/anomaly-detection/.
