Elastic Cloud REST API
Managed Elasticsearch for search and analytics at scale
Elastic Cloud provides fully managed Elasticsearch, Kibana, and Observability solutions for search, logging, and analytics. Developers use it to build powerful search experiences, monitor applications, analyze logs, and gain real-time insights from data at scale. The REST API enables programmatic management of deployments, clusters, and integrations.
https://api.elastic-cloud.com/api/v1
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /deployments | List all Elastic Cloud deployments in your organization |
| POST | /deployments | Create a new Elastic Cloud deployment with specified configuration |
| GET | /deployments/{deployment_id} | Get details about a specific deployment including health and resources |
| PUT | /deployments/{deployment_id} | Update deployment configuration, scale resources, or change settings |
| DELETE | /deployments/{deployment_id} | Delete a deployment and all associated resources |
| POST | /deployments/{deployment_id}/_shutdown | Gracefully shutdown a deployment without deleting it |
| POST | /deployments/{deployment_id}/_restore | Restore a deployment from a snapshot backup |
| GET | /deployments/{deployment_id}/elasticsearch/{ref_id}/snapshots | List all snapshots for an Elasticsearch cluster |
| POST | /deployments/{deployment_id}/elasticsearch/{ref_id}/snapshots | Create a snapshot backup of an Elasticsearch cluster |
| GET | /platform/infrastructure/allocators | Get information about infrastructure allocators and capacity |
| GET | /users/auth/_current | Get information about the currently authenticated user |
| GET | /deployments/{deployment_id}/notes | Retrieve deployment notes and annotations |
| POST | /deployments/{deployment_id}/notes | Add notes or annotations to a deployment |
| GET | /stack/versions | List available Elastic Stack versions for deployment |
| GET | /deployments/{deployment_id}/apm/{ref_id}/settings | Get APM server settings for a deployment |
Sponsor this page
AvailableReach developers actively building with Elastic Cloud. See live pageview data and self-serve checkout — your slot goes live in minutes.
View inventory & pricing →Code Examples
curl -X GET 'https://api.elastic-cloud.com/api/v1/deployments' \
-H 'Authorization: ApiKey YOUR_API_KEY' \
-H 'Content-Type: application/json'
Use Elastic Cloud from Claude / Cursor / ChatGPT
Get a hosted MCP endpoint for Elastic Cloud. Paste your Elastic Cloud API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls Elastic Cloud directly with your credentials — no local install, works on mobile.
create_elastic_deployment
Create and configure a new Elastic Cloud deployment with specified stack versions and resource allocations
query_deployment_health
Check the health status and performance metrics of Elastic Cloud deployments
manage_deployment_snapshots
Create, list, and restore snapshots for Elasticsearch clusters to enable backup and recovery
scale_deployment_resources
Automatically scale Elasticsearch cluster resources based on usage patterns or requirements
monitor_cluster_metrics
Retrieve and analyze cluster performance metrics, node statistics, and resource utilization
Connect in 60 seconds
Paste your Elastic Cloud key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.
Connect Elastic Cloud to your AI →