2021-05-28 13:48:19 -04:00
---
layout: default
title: REST API reference
2022-10-27 12:50:39 -04:00
nav_order: 1
2023-05-19 14:33:20 -04:00
has_toc: false
has_children: true
2023-05-11 13:56:08 -04:00
nav_exclude: true
2021-06-10 18:09:17 -04:00
redirect_from:
2023-05-04 13:44:02 -04:00
- /opensearch/rest-api/index/
2021-05-28 13:48:19 -04:00
---
# REST API reference
2023-05-19 14:33:20 -04:00
You can use REST APIs for most operations in OpenSearch. In this reference, we provide a description of the API, and details that include the paths and HTTP methods, supported parameters, and example requests and responses.
2021-06-10 15:48:49 -04:00
2023-06-07 13:46:28 -04:00
This reference includes the REST APIs supported by OpenSearch. If a REST API is missing, please provide feedback or submit a pull request in GitHub.
2021-06-10 15:48:49 -04:00
{: .tip }
2023-05-19 14:33:20 -04:00
## Related articles
- [Analyze API ]({{site.url}}{{site.baseurl}}/api-reference/analyze-apis/index/ )
2023-06-07 13:46:28 -04:00
- [Access control API ]({{site.url}}{{site.baseurl}}/security/access-control/api/ )
- [Alerting API ]({{site.url}}{{site.baseurl}}/observing-your-data/alerting/api/ )
- [Anomaly detection API ]({{site.url}}{{site.baseurl}}/observing-your-data/ad/api/ )
2023-05-19 14:33:20 -04:00
- [CAT APIs ]({{site.url}}{{site.baseurl}}/api-reference/cat/index/ )
- [Cluster APIs ]({{site.url}}{{site.baseurl}}/api-reference/cluster-api/index/ )
2023-06-07 13:46:28 -04:00
- [Common REST parameters ]({{site.url}}{{site.baseurl}}/api-reference/common-parameters/ )
2023-05-19 14:33:20 -04:00
- [Count ]({{site.url}}{{site.baseurl}}/api-reference/count/ )
2023-06-07 13:46:28 -04:00
- [Cross-cluster replication API ]({{site.url}}{{site.baseurl}}/tuning-your-cluster/replication-plugin/api/ )
- [Document APIs ]({{site.url}}{{site.baseurl}}/api-reference/document-apis/index/ )
2023-05-19 14:33:20 -04:00
- [Explain ]({{site.url}}{{site.baseurl}}/api-reference/explain/ )
- [Index APIs ]({{site.url}}{{site.baseurl}}/api-reference/index-apis/index/ )
2023-06-07 13:46:28 -04:00
- [Index rollups API ]({{site.url}}{{site.baseurl}}/im-plugin/index-rollups/rollup-api/ )
- [Index state management API ]({{site.url}}{{site.baseurl}}/im-plugin/ism/api/ )
- [ISM error prevention API ]({{site.url}}{{site.baseurl}}/im-plugin/ism/error-prevention/api/ )
2023-05-19 14:33:20 -04:00
- [Ingest APIs ]({{site.url}}{{site.baseurl}}/api-reference/ingest-apis/index/ )
2023-06-07 13:46:28 -04:00
- [k-NN plugin API ]({{site.url}}{{site.baseurl}}/search-plugins/knn/api/ )
- [ML Commons API ]({{site.url}}{{site.baseurl}}/ml-commons-plugin/api/ )
2023-05-19 14:33:20 -04:00
- [Multi-search ]({{site.url}}{{site.baseurl}}/api-reference/multi-search/ )
- [Nodes APIs ]({{site.url}}{{site.baseurl}}/api-reference/nodes-apis/index/ )
2023-06-07 13:46:28 -04:00
- [Notifications API ]({{site.url}}{{site.baseurl}}/observing-your-data/notifications/api/ )
- [Performance analyzer API ]({{site.url}}{{site.baseurl}}/monitoring-your-cluster/pa/api/ )
- [Point in Time API ]({{site.url}}{{site.baseurl}}/search-plugins/point-in-time-api/ )
2023-05-19 14:33:20 -04:00
- [Popular APIs ]({{site.url}}{{site.baseurl}}/api-reference/popular-api/ )
- [Ranking evaluation ]({{site.url}}{{site.baseurl}}/api-reference/rank-eval/ )
- [Reload search analyzer ]({{site.url}}{{site.baseurl}}/api-reference/reload-search-analyzer/ )
- [Remove cluster information ]({{site.url}}{{site.baseurl}}/api-reference/remote-info/ )
2023-06-07 13:46:28 -04:00
- [Root cause analysis API ]({{site.url}}{{site.baseurl}}/monitoring-your-cluster/pa/rca/api/ )
- [Snapshot management API ]({{site.url}}{{site.baseurl}}/tuning-your-cluster/availability-and-recovery/snapshots/sm-api/ )
2023-05-19 14:33:20 -04:00
- [Script APIs ]({{site.url}}{{site.baseurl}}/api-reference/script-apis/index/ )
- [Scroll ]({{site.url}}{{site.baseurl}}/api-reference/scroll/ )
- [Search ]({{site.url}}{{site.baseurl}}/api-reference/search/ )
2023-06-07 13:46:28 -04:00
- [Search relevance stats API ]({{site.url}}{{site.baseurl}}/search-plugins/search-relevance/stats-api/ )
- [Security analytics APIs ]({{site.url}}{{site.baseurl}}/security-analytics/api-tools/index/ )
2023-05-19 14:33:20 -04:00
- [Snapshot APIs ]({{site.url}}{{site.baseurl}}/api-reference/snapshots/index/ )
2023-06-07 13:46:28 -04:00
- [Stats API ]({{site.url}}{{site.baseurl}}/tuning-your-cluster/availability-and-recovery/stats-api/ )
2023-05-19 14:33:20 -04:00
- [Supported units ]({{site.url}}{{site.baseurl}}/api-reference/units/ )
- [Tasks ]({{site.url}}{{site.baseurl}}/api-reference/tasks/ )
2023-06-07 13:46:28 -04:00
- [Transforms API ]({{site.url}}{{site.baseurl}}/im-plugin/index-transforms/transforms-apis/ )
2023-05-19 14:33:20 -04:00