You're viewing version 3.0 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.
API reference
You can use REST APIs for most operations in OpenSearch. Starting with OpenSearch 3.0, you can use alternative experimental gRPC APIs.
REST APIs
Introduced 1.0
OpenSearch supports the following REST APIs:
- Analyze API
- Access control API
- Alerting API
- Anomaly detection API
- CAT APIs
- Cluster APIs
- Common REST parameters
- Count
- Cross-cluster replication API
- Document APIs
- Explain
- Index APIs
- Index rollups API
- Index state management API
- ISM error prevention API
- Ingest APIs
- Vector search API
- ML Commons API
- Multi-search
- Nodes APIs
- Notifications API
- Performance analyzer API
- Point in Time API
- Popular APIs
- Ranking evaluation
- Refresh search analyzer
- Remote cluster information
- Root cause analysis API
- Snapshot management API
- Script APIs
- Scroll
- Search
- Search relevance stats API
- Security analytics APIs
- Snapshot APIs
- Stats API
- Supported units
- Tasks
- Transforms API
- Hot reload TLS certificates
gRPC APIs
Introduced 3.0
Starting with OpenSearch 3.0, you can use gRPC APIs—a high-performance alternative to traditional REST interfaces. These APIs use the gRPC protocol to provide more efficient communication with OpenSearch clusters. For more information and supported APIs, see gRPC APIs.