Elasticsearch API (v9)
Elasticsearch provides REST APIs that are used by the UI components and can be called directly to configure and access Elasticsearch features.
- Version
- 9.6
This documentation is derived from the 9.6 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.
Endpoints
45 groups
- Behavioral analytics 4 endpoints The behavioral analytics APIs let you create and manage analytics collections and view their data. Use them to analyze users’ search and click behavior,...
- Cluster 20 endpoints The cluster APIs enable you to retrieve information about your infrastructure on cluster, node, or shard level. You can manage cluster settings and voting...
- Cluster - Health 1 endpoint The cluster - health API provides you a report with the health status of an Elasticsearch cluster.
- Compact and aligned text (CAT) 27 endpoints The compact and aligned text (CAT) APIs aim are intended only for human consumption using the Kibana console or command line. They are not intended for...
- Connector 29 endpoints The connector and sync jobs APIs provide a convenient way to create and manage Elastic connectors and sync jobs in an internal index. Connectors are Elasticsearch...
- Cross-cluster replication 13 endpoints The cross-cluster replication (CCR) APIs let you run replication operations, such as creating and managing follower indices or auto-follow patterns. Use...
- Data stream 19 endpoints The data stream APIs enable you to create and manage data streams and data stream lifecycles. A data stream lets you store append-only time series data...
- Document 18 endpoints The document APIs enable you to create and manage documents in an Elasticsearch index.
- Enrich 5 endpoints The enrich APIs enable you to manage enrich policies. An enrich policy is a set of configuration options used to add the right enrich data to the right...
- EQL 4 endpoints Event Query Language (EQL) is a query language for event-based time series data, such as logs, metrics, and traces.
- ES|QL 16 endpoints The Elasticsearch Query Language (ES|QL) provides a powerful way to filter, transform, and analyze data stored in Elasticsearch, and in the future in...
- Features 2 endpoints The feature APIs enable you to introspect and manage features provided by Elasticsearch and Elasticsearch plugins.
- Fleet 3 endpoints The Fleet APIs support Fleet’s use of Elasticsearch as a data store for internal agent and action data.
- Graph explore 1 endpoint The graph explore API enables you to extract and summarize information about the documents and terms in an Elasticsearch data stream or index.
- Index 55 endpoints Index APIs enable you to manage individual indices, index settings, aliases, mappings, and index templates.
- Index lifecycle management 11 endpoints The index lifecycle management APIs enable you to set up policies to automatically manage the index lifecycle.
- Inference 44 endpoints Inference APIs enable you to use certain services, such as built-in machine learning models (ELSER, E5), models uploaded through Eland, Cohere, OpenAI,...
- Info 1 endpoint The info API provides basic build, version, and cluster information.
- Ingest 13 endpoints Ingest APIs enable you to manage tasks and resources related to ingest pipelines and processors.
- Licensing 7 endpoints Licensing APIs enable you to manage your licenses.
- Logstash 3 endpoints Logstash APIs enable you to manage pipelines that are used by Logstash Central Management.
- Machine learning 3 endpoints The machine learning APIs enable you to retrieve information related to the Elastic Stack machine learning features.
- Machine learning anomaly detection 45 endpoints The machine learning anomaly detection APIs enable you to perform anomaly detection activities.
- Machine learning data frame analytics 10 endpoints The machine learning data frame analytics APIs enable you to perform data frame analytics activities.
- Machine learning trained model 13 endpoints The machine learning trained models APIs enable you to perform model management operations.
- Migration 7 endpoints The migration APIs power Kibana's Upgrade Assistant feature.
- Prometheus 1 endpoint The Prometheus Query Language (PromQL) is a functional query language to select and aggregate metrics. Elasticsearch supports PromQL through a Prometheus-compatible...
- Query rules 8 endpoints Query rules enable you to configure per-query rules that are applied at query time to queries that match the specific rule. Query rules are organized...
- Reindex 3 endpoints The reindex APIs enable you to copy documents from a source to a destination and to manage reindex tasks.
- Rollup 8 endpoints The rollup APIs enable you to create, manage, and retrieve information about rollup jobs.
- Script 6 endpoints Use the script support APIs to get a list of supported script contexts and languages. Use the stored script APIs to manage stored scripts and search te...
- Search 21 endpoints The search APIs enable you to search and aggregate data stored in Elasticsearch indices and data streams.
- Search application 6 endpoints The search application APIs enable you to manage tasks and resources related to Search Applications.
- Searchable snapshots 4 endpoints The searchable snapshots APIs enable you to perform searchable snapshots operations.
- Security 70 endpoints The security APIs enable you to perform security activities, and add, update, retrieve, and remove application privileges, role mappings, and roles. You...
- Snapshot and restore 13 endpoints Snapshot and restore APIs enable you to set up snapshot repositories, manage snapshot backups, and restore snapshots to a running cluster.
- Snapshot lifecycle management 9 endpoints Snapshot lifecycle management (SLM) APIs enable you to set up policies to automatically take snapshots and control how long they are retained.
- SQL 6 endpoints Elasticsearch's SQL APIs enable you to run SQL queries on Elasticsearch indices and data streams.
- Streams 3 endpoints
- Synonyms 7 endpoints The synonyms management API provides a convenient way to define and manage synonyms in an internal system index. Related synonyms can be grouped in a...
- Task management 3 endpoints The task management APIs enable you to retrieve information about tasks or cancel tasks running in a cluster.
- Text structure 4 endpoints The text structure APIs enable you to find the structure of a text field in an Elasticsearch index.
- Transform 13 endpoints The transform APIs enable you to create and manage transforms.
- Usage 2 endpoints The usage API provides usage information about the installed X-Pack features.
- Watcher 13 endpoints You can use Watcher to watch for changes or anomalies in your data and perform the necessary actions in response.