A RESTful API is available to roll your own automation. In Elastic Cloud Enterprise 2.0.1, our RESTful API supports Elasticsearch and Kibana cluster automation. Future releases will provide additional automation for the Elastic Cloud Enterprise platform.
The API is organized into several sections:
- Clusters: CRUD operations to define Elasticsearch and Kibana clusters and to manage them.
- Platform: Manage the Elastic Cloud Enterprise platform itself. Manage allocators, define global configurations, security settings, and snapshot repositories.
- Stack: Manage the available versions of the Elastic Stack products in your Elastic Cloud Enterprise installation.
API Base Path:
To allow you to build API clients or use your favorite OpenAPI-enabled development tool, the API definition is also available in OpenAPI 2.0 format.
We currently support basic authentication with the same
admin user and password that you use to log into the Cloud UI. The credentials are provided when you install Elastic Cloud Enterprise on your first host and can also be retrieved separately.
Future versions of Elastic Cloud Enterprise will support additional authentication methods and multiple users.
You can interact with a specific Elasticsearch cluster directly from the Cloud UI without having to authenticate again. This access is limited to the specific cluster and only for cluster-related API calls. You cannot make platform changes from here.
- Log into the Cloud UI.
- On the Deployments page, select the deployment you want.
- From the Elasticsearch menu, go to the API Console page.
Make a selection from the operation drop-down list and complete the path.
For example, you can select
Getand use the
_cluster/health?pretty=truepath for cluster status and other pertinent details.
If needed, add the body information.
To display the body area, select PUT, POST, or DELETE from the drop-down list.
- Click Submit.
The results of the API operation are displayed, along with the time it took to complete the operation.
To learn more about using our RESTful API, see: