Connect to AI
Search & Analytics API Key

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.

Base URL https://api.elastic-cloud.com/api/v1

API Endpoints

MethodEndpointDescription
GET/deploymentsList all Elastic Cloud deployments in your organization
POST/deploymentsCreate 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}/_shutdownGracefully shutdown a deployment without deleting it
POST/deployments/{deployment_id}/_restoreRestore a deployment from a snapshot backup
GET/deployments/{deployment_id}/elasticsearch/{ref_id}/snapshotsList all snapshots for an Elasticsearch cluster
POST/deployments/{deployment_id}/elasticsearch/{ref_id}/snapshotsCreate a snapshot backup of an Elasticsearch cluster
GET/platform/infrastructure/allocatorsGet information about infrastructure allocators and capacity
GET/users/auth/_currentGet information about the currently authenticated user
GET/deployments/{deployment_id}/notesRetrieve deployment notes and annotations
POST/deployments/{deployment_id}/notesAdd notes or annotations to a deployment
GET/stack/versionsList available Elastic Stack versions for deployment
GET/deployments/{deployment_id}/apm/{ref_id}/settingsGet APM server settings for a deployment

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 →

Related APIs