Skip to content

Application Development

Elastic Cloud
API integration

Ship Application Development features without building the integration. Full Elastic Cloud API access via Proxy, normalized data through Unified APIs, and 100+ MCP-ready tools for AI agents — all extensible to your exact use case.

Talk to us
Elastic Cloud

Use Cases

Why integrate with Elastic Cloud

Common scenarios for SaaS companies building Elastic Cloud integrations for their customers.

01

Automate Elastic Cloud user provisioning from your identity platform

Identity governance and CIEM platforms can automatically invite users to a customer's Elastic Cloud Organization and assign scoped roles when team membership changes, eliminating manual access provisioning.

02

Sync organizational roles and permissions for compliance reporting

GRC and compliance SaaS products can pull Elastic Cloud Organization members, roles, and access levels to generate audit-ready reports on who has access to production search and observability infrastructure.

03

Enforce least-privilege access across cloud developer tools

DevOps platforms can read and manage Elastic Cloud roles and user assignments alongside other infrastructure tools, ensuring developers only have the minimum permissions needed across their entire stack.

04

Automate offboarding across the application development stack

HR and IT automation platforms can revoke Elastic Cloud Organization access in real time when an employee leaves, closing a critical security gap in data-intensive environments.

What You Can Build

Ship these features with Truto + Elastic Cloud

Concrete product features your team can ship faster by leveraging Truto’s Elastic Cloud integration instead of building from scratch.

01

Elastic Cloud user directory sync

Continuously sync Elastic Cloud Organization members into your product so customers always see an up-to-date roster of who has access to their search and observability infrastructure.

02

Cross-platform role mapping dashboard

Display Elastic Cloud roles alongside roles from other integrated platforms, giving IT admins a single view of user entitlements across their toolchain.

03

Automated role assignment on team changes

When a user is added to a team in your product, automatically assign them the appropriate scoped Elastic Cloud role — such as view-only access to a specific serverless project.

04

Real-time access revocation workflow

Trigger immediate removal of a user from an Elastic Cloud Organization when your platform detects an offboarding event or policy violation.

05

Organization-level access audit log

Surface a timeline of all user additions, removals, and role changes across your customers' Elastic Cloud Organizations for compliance and security review.

SuperAI

Elastic Cloud AI agent tools

Comprehensive AI agent toolset with fine-grained control. Integrates with MCP clients like Cursor and Claude, or frameworks like LangChain.

list_all_elastic_cloud_organization_members

Fetch users belonging to the selected organization. Currently unavailable in self-hosted ECE. Required: organization_id.

delete_a_elastic_cloud_organization_member_by_id

Deletes one or more organization memberships. Currently unavailable in self-hosted ECE. Required: id, organization_id. id is the user_ids (comma-separated).

list_all_elastic_cloud_organizations

Fetch organizations available to the current user. Currently unavailable in self-hosted ECE.

get_single_elastic_cloud_organization_by_id

Fetch a single organization by id. Currently unavailable in self-hosted ECE. Required: id. id is the organization_id.

update_a_elastic_cloud_organization_by_id

> WARNING > This endpoint is deprecated and scheduled to be removed in the next major version. Updates an existing organization. Currently unavailable in self-hosted ECE. Body fields: name, enforce_authentication_method, default_disk_usage_alerts_enabled, notifications_allowed_email_domains, billing_contacts, operational_contacts. Required: id. id is the organization_id.

list_all_elastic_cloud_myaccount

Fetch current account information.

elastic_cloud_myaccount_patch

Updates the current account. Body fields: trust.

elastic_cloud_myaccount_replace

Updates the current account. Body fields: trust.

create_a_elastic_cloud_role_assignment

Adds a set of RoleAssignments to the specified User. Currently unavailable in self-hosted ECE. Body fields: platform, organization, deployment, project. Required: user_id.

delete_a_elastic_cloud_role_assignment_by_id

Removes a set of RoleAssignments from the specified User. Currently unavailable in self-hosted ECE. Body fields: platform, organization, deployment, project. Required: user_id.

create_a_elastic_cloud_api_key

Creates a new API key. The key value is only returned once, in this response. Body fields: description, expiration, role_assignments. Required: description.

delete_a_elastic_cloud_api_key_by_id

Delete or invalidate the API key. Required: id. id is the api_key_id.

elastic_cloud_api_keys_delete_many

Delete or invalidate API keys. Body fields: keys. Required: keys.

get_single_elastic_cloud_api_key_by_id

Retrieves the metadata for an API key. Required: id. id is the api_key_id.

list_all_elastic_cloud_api_keys

Retrieves the metadata for the API keys the caller is allowed to see.

list_all_elastic_cloud_appsearch_read_only_mode

Enable/Disable read-only mode on the given App Search resource. Required: deployment_id, ref_id.

elastic_cloud_appsearch_read_only_mode_set

Enable/Disable read-only mode on the given App Search resource. Body fields: enabled. Required: deployment_id, ref_id, enabled.

list_all_elastic_cloud_deployment_apm_resources

Get info about an APM Resource belonging to a given Deployment. Required: deployment_id, ref_id.

elastic_cloud_deployment_apm_resources_reset_secret_token

Reset the token of an APM resource. Returns the new secret token. Required: deployment_id, ref_id.

list_all_elastic_cloud_deployment_appsearch_resources

Get info about an App Search Resource belonging to a given Deployment. Required: deployment_id, ref_id.

list_all_elastic_cloud_deployment_certificate_authority

Returns the certificate authority used to sign the certificates of this deployment. Required: deployment_id.

deployment_elasticsearch_eligible_remote_clusters_search

Returns the list of deployments which contain eligible remote clusters for the elasticsearch resource. Body fields: from, cursor, size, query, sort. Required: deployment_id, ref_id.

list_all_elastic_cloud_deployment_elasticsearch_keystore

Fetches the current fields and metadata (but not the values) of the keystore for the Elasticsearch resource. Required: deployment_id, ref_id.

elastic_cloud_deployment_elasticsearch_keystore_set

Adds the specified values to the Elasticsearch keystore, or removes the keys for the unspecified values. Body fields: secrets. Required: deployment_id, ref_id, secrets.

list_all_elastic_cloud_deployment_elasticsearch_remote_clusters

Returns the list of certificate based remote clusters for the elasticsearch resource. Required: deployment_id, ref_id.

elastic_cloud_deployment_elasticsearch_remote_clusters_set

Overwrites or creates the list of certificate based remote clusters for the elasticsearch resource. Body fields: resources. Required: deployment_id, ref_id, resources.

elastic_cloud_deployment_elasticsearch_resources_enable_ccr

Migrates the specified Elasticsearch resource and its associated Kibana to enable CCR (if supported). Required: deployment_id, ref_id.

elastic_cloud_deployment_elasticsearch_resources_enable_ilm

Migrates the specified Elasticsearch resource to use ILM. Body fields: index_patterns. Required: deployment_id, ref_id, index_patterns.

elastic_cloud_deployment_elasticsearch_resources_enable_slm

Migrates the specified Elasticsearch resource to use SLM. Required: deployment_id, ref_id.

list_all_elastic_cloud_deployment_elasticsearch_resources

Get info about an Elasticsearch Resource belonging to a given Deployment. Required: deployment_id, ref_id.

elastic_cloud_deployment_elasticsearch_resources_reset_password

Resets the password of the 'elastic' user. Returns the new elastic user password in the response. Required: deployment_id, ref_id.

elastic_cloud_deployment_elasticsearch_resources_restart

Restarts an Elasticsearch Resource. If a Resource is active: this command re-applies the existing plan but applies a "cluster_reboot", which issues a restart command and waits for it to complete. If a Resource is inactive: this command starts it up with the most recent successful plan. Required: deployment_id, ref_id.

elastic_cloud_deployment_elasticsearch_resources_shutdown

Shutdown Elasticsearch Resource belonging to a given Deployment. Required: deployment_id, ref_id.

create_deployment_elasticsearch_snapshot_repository

Important: This API is currently in Tech Preview. While available for use, it is subject to change. Creates a snapshot dependency, allowing this cluster to access snapshots from the source deployment. Currently unavailable in self-hosted ECE. Body fields: source_deployment_id. Required: deployment_id, ref_id, source_deployment_id.

delete_deployment_elasticsearch_snapshot_repository_by_id

Removes the attached snapshot repository. This is only possible if the repository is not in use anymore by any searchable snapshots. Required: id, deployment_id, ref_id. id is the repository_name.

list_all_deployment_elasticsearch_snapshot_repositories

Lists all the snapshot repositories this deployment has access to. These are snapshot repositories of other deployments that have been linked to this deployment. Required: deployment_id, ref_id.

list_all_elastic_cloud_deployment_elasticsearch_tiers

Retrieves the current memory size, zone count, and available sizes for all enabled Elasticsearch tiers in a Deployment. Disabled tiers are excluded. Required: deployment_id, ref_id.

elastic_cloud_deployment_elasticsearch_tiers_patch

Updates the size and/or zone count of one or more Elasticsearch topology elements (tiers) within a Deployment. Body fields: hot_content, warm, cold, frozen, master, coordinating, ml. Required: deployment_id, ref_id.

list_all_elastic_cloud_deployment_enterprise_search_resources

Get info about an Enterprise Search Resource belonging to a given Deployment. Required: deployment_id, ref_id.

list_all_elastic_cloud_deployment_integrations_server_resources

Get info about an Integrations Server Resource belonging to a given Deployment. Required: deployment_id, ref_id.

list_all_elastic_cloud_deployment_kibana_resources

Get info about a Kibana Resource belonging to a given Deployment. Required: deployment_id, ref_id.

list_all_elastic_cloud_deployment_resource_user_settings

Retrieves the current user-defined settings for a resource belonging to a given Deployment. Required: deployment_id, resource_kind, ref_id.

elastic_cloud_deployment_resource_user_settings_set

Replaces the component-level user-defined settings for the specified resource kind in the deployment. All existing component-level user settings are overwritten with the provided values. Submitting an empty object will remove all component-level user settings for the resource. This endpoint does not support tier/topology-level user settings overrides. Body fields: user_settings. Required: deployment_id, resource_kind, ref_id, user_settings.

elastic_cloud_deployment_resources_cancel_pending_plan

Cancels the pending plan of a Resource belonging to a given Deployment. Required: deployment_id, resource_kind, ref_id.

elastic_cloud_deployment_resources_restart_stateless

Restarts a Stateless Resource. If a Resource is active: this command re-applies the existing plan but applies a "cluster_reboot", which issues a restart command and waits for it to complete. If a Resource is inactive: this command starts it up with the most recent successful plan. Required: deployment_id, stateless_resource_kind, ref_id.

elastic_cloud_deployment_resources_restore

Restores a shutdown resource belonging to a given Deployment. Required: deployment_id, resource_kind, ref_id.

elastic_cloud_deployment_resources_shutdown_stateless

Shut down Stateless Resource belonging to a given Deployment. Kibana cannot be shut down on Elasticsearch Service as it is required for Elasticsearch administrative functions, such as Snapshot Lifecycle Management and version upgrades. Required: deployment_id, stateless_resource_kind, ref_id.

elastic_cloud_deployment_resources_start_all_instances

Starts all instances belonging to a Deployment Resource. Required: deployment_id, resource_kind, ref_id.

elastic_cloud_deployment_resources_start_all_maintenance_mode

Starts maintenance mode of all instances belonging to a Deployment Resource. Required: deployment_id, resource_kind, ref_id.

elastic_cloud_deployment_resources_start_instances

Starts instances belonging to a Deployment Resource. Required: deployment_id, resource_kind, ref_id, instance_ids.

elastic_cloud_deployment_resources_start_maintenance_mode

Starts maintenance mode of instances belonging to a Deployment Resource. Required: deployment_id, resource_kind, ref_id, instance_ids.

elastic_cloud_deployment_resources_stop_all_instances

Stops all instances belonging to a Deployment Resource. Required: deployment_id, resource_kind, ref_id.

elastic_cloud_deployment_resources_stop_all_maintenance_mode

Stops maintenance mode of all instances belonging to a Deployment Resource. Required: deployment_id, resource_kind, ref_id.

elastic_cloud_deployment_resources_stop_instances

Stops instances belonging to a Deployment Resource. Required: deployment_id, resource_kind, ref_id, instance_ids.

elastic_cloud_deployment_resources_stop_maintenance_mode

Stops maintenance mode of instances belonging to a Resource. Required: deployment_id, resource_kind, ref_id, instance_ids.

list_all_elastic_cloud_deployment_tags

Returns the tags for a Deployment. Required: deployment_id.

elastic_cloud_deployment_tags_set

Sets the tags for a Deployment, replacing any existing tags. Body fields: tags. Required: deployment_id.

get_single_elastic_cloud_deployment_template_by_id

Retrieves a deployment template by id. Required: id, region. id is the template_id.

list_all_elastic_cloud_deployment_templates

Retrieves all deployment templates. Returns an array of templates. Required: region.

list_all_elastic_cloud_deployment_upgrade_assistant_status

Gets the Upgrade Assistant status of a deployment: whether its Elasticsearch resource is ready to upgrade to the target version, with details of any blocking issues. Required: deployment_id.

create_a_elastic_cloud_deployment

Creates a Deployment. Body fields: name, resources, settings, metadata, alias, region, version.

get_single_elastic_cloud_deployment_by_id

Retrieves information about a Deployment. Required: id. id is the deployment_id.

list_all_elastic_cloud_deployments

List Deployments.

elastic_cloud_deployments_migrate_template

Returns a deployment update request that would migrate this deployment to a different template. Required: deployment_id, template_id.

elastic_cloud_deployments_restore

Restores all resources in a Deployment. Required: deployment_id.

elastic_cloud_deployments_search

Retrieves the information for all of the deployments that match the specified query. Body fields: from, cursor, size, query, sort.

elastic_cloud_deployments_shutdown

Shuts down all resources in a Deployment. Required: deployment_id.

update_a_elastic_cloud_deployment_by_id

Updates a Deployment. Body fields: name, prune_orphans, resources, settings, metadata, alias. Required: id, prune_orphans. id is the deployment_id.

elastic_cloud_deployments_upgrade

Important: This API is currently in Tech Preview. While available for use, it is subject to change. Upgrades all resources (Elasticsearch, Kibana, APM, Enterprise Search, etc.) in the deployment to the specified Elastic Stack version. Both the current deployment version and the target version must be >= 8.0.0. Body fields: target_version. Required: deployment_id, target_version.

elastic_cloud_eligible_remote_clusters_search

Returns the list of deployments which contain eligible remote clusters for a specific version. Body fields: from, cursor, size, query, sort. Required: version.

create_a_elastic_cloud_extension

Creates the extension. The extensions API supports two types of usage patterns. A). Specify a download_url, http or https URL, where the extension is currently hosted. This will result in extension being copied to elastic repository. B). Create only the extension metadata using the POST endpoint and then use PUT to upload the extension file. Leave the download_url unspecified in this case. Body fields: name, description, download_url, extension_type, version. Required: name, extension_type, version.

delete_a_elastic_cloud_extension_by_id

Deletes a Extension. Required: id. id is the extension_id.

get_single_elastic_cloud_extension_by_id

Retrieves an extension. Required: id. id is the extension_id.

list_all_elastic_cloud_extensions

Retrieves all of the available extensions.

update_a_elastic_cloud_extension_by_id

Updates an extension. Body fields: name, description, download_url, extension_type, version. Required: id, name, extension_type, version. id is the extension_id.

elastic_cloud_extensions_upload

Uploads archive for an extension. Sends the zip as multipart/form-data; MCP clients cannot send binary files. Required: extension_id, file.

organization_domain_claims_generate_verification_code

Generate verification code for the domain claim challenge. Body fields: domain_claim_request. Required: organization_id, domain_claim_request.

list_all_elastic_cloud_organization_domain_claims

Get domain claims for the organization. Required: organization_id.

elastic_cloud_organization_domain_claims_remove

Delete domain claim. Body fields: domain_claim_request. Required: organization_id, domain_claim_request.

elastic_cloud_organization_domain_claims_verify

Verify domain claim challenge. Body fields: domain_claim_request. Required: organization_id, domain_claim_request.

list_all_elastic_cloud_organization_idp_metadata

Gets the oranization's IdP metadata.xml. Currently unavailable in self-hosted ECE. Returns SAML metadata XML as text. Required: organization_id.

list_all_elastic_cloud_organization_idp

Gets the oranization's IdP. Currently unavailable in self-hosted ECE. Required: organization_id.

elastic_cloud_organization_idp_setup

Sets up an organization's IdP. Currently unavailable in self-hosted ECE. Body fields: enabled, login_identifier_prefix, saml_idp. Required: organization_id, enabled, login_identifier_prefix, saml_idp.

elastic_cloud_organization_idp_teardown

Tear down up an organization's IdP. Currently unavailable in self-hosted ECE. Required: organization_id.

create_a_elastic_cloud_organization_invitation

Creates or refreshes organization invitations. Currently unavailable in self-hosted ECE. Body fields: emails, expires_in, role_assignments. Required: organization_id, emails.

delete_a_elastic_cloud_organization_invitation_by_id

Deletes one or more organization invitations. Currently unavailable in self-hosted ECE. Required: id, organization_id. id is the invitation_tokens (comma-separated).

get_single_elastic_cloud_organization_invitation_by_id

Gets a single invitation to an organization by token. Currently unavailable in self-hosted ECE. Required: id. id is the invitation_token.

list_all_elastic_cloud_organization_invitations

Fetch open invitations to the selected organization. Currently unavailable in self-hosted ECE. Required: organization_id.

create_a_elastic_cloud_organization_role_mapping

Adds the role assignments applicable when logging via SSO. Currently unavailable in self-hosted ECE. Body fields: mappings. Required: organization_id, mappings.

delete_a_elastic_cloud_organization_role_mapping_by_id

Deletes the organization role mapping. Currently unavailable in self-hosted ECE. Required: id, organization_id. id is the role_names (comma-separated).

elastic_cloud_organization_role_mappings_delete_all

Deletes the organization role mappings. Currently unavailable in self-hosted ECE. Required: organization_id.

list_all_elastic_cloud_organization_role_mappings

Gets the organization role mappings. Currently unavailable in self-hosted ECE. Required: organization_id.

elastic_cloud_organization_role_mappings_replace_all

Updates the role assignments applicable when logging via SSO. Currently unavailable in self-hosted ECE. Body fields: mappings. Required: organization_id, mappings.

update_a_elastic_cloud_organization_role_mapping_by_id

Updates an existing role mapping by name. Currently unavailable in self-hosted ECE. Body fields: mapping. Required: id, organization_id, mapping. id is the role_name.

list_all_elastic_cloud_stack_versions

Lists the Elastic Stack versions available in an Elastic Cloud region. By default only available versions are returned; set show_deleted to include all. Required: region.

list_all_elastic_cloud_traffic_filter_entity_rulesets

Retrieves the rulesets associated with a deployment. Required: association_type, associated_entity_id.

elastic_cloud_traffic_filter_link_ids_claim

Claim the ownership of a link id. Body fields: link_id, azure_endpoint_name, azure_endpoint_guid, region. Required: region.

list_all_elastic_cloud_traffic_filter_link_ids

List all of the traffic filter claimed link id.

elastic_cloud_traffic_filter_link_ids_unclaim

Unclaims the ownership of a link id. Body fields: link_id, azure_endpoint_name, azure_endpoint_guid, region. Required: region.

create_a_elastic_cloud_traffic_filter_ruleset_association

Applies the ruleset to the specified deployment. Body fields: entity_type, id. Required: ruleset_id, entity_type, id.

delete_a_elastic_cloud_traffic_filter_ruleset_association_by_id

Deletes the traffic rules in the ruleset from the deployment. Required: id, ruleset_id, association_type. id is the associated_entity_id.

list_all_elastic_cloud_traffic_filter_ruleset_associations

Retrieves a list of deployments that are associated to the specified ruleset. Required: ruleset_id.

create_a_elastic_cloud_traffic_filter_ruleset

Creates a ruleset that consists of a set of rules. Body fields: name, description, type, include_by_default, region, rules. Required: name, type, include_by_default, region, rules.

delete_a_elastic_cloud_traffic_filter_ruleset_by_id

Deletes the ruleset by ID. Required: id. id is the ruleset_id.

get_single_elastic_cloud_traffic_filter_ruleset_by_id

Retrieves a list of resources that are associated to the specified ruleset. Required: id. id is the ruleset_id.

list_all_elastic_cloud_traffic_filter_rulesets

List all of the traffic filter rulesets.

update_a_elastic_cloud_traffic_filter_ruleset_by_id

Updates the ruleset with the definition. Body fields: name, description, type, include_by_default, region, rules. Required: id, name, type, include_by_default, region, rules. id is the ruleset_id.

list_all_elastic_cloud_trusted_environments

Returns the list of trusted environments for the organization. If no organization is passed in, the organization attached to the user is assumed.

Why Truto

Why use Truto’s MCP server for Elastic Cloud

Other MCP servers give you a static tool list for one app. Truto gives you a managed, multi-tenant MCP infrastructure across 1150+ integrations.

01

Auto-generated, always up to date

Tools are dynamically generated from curated documentation — not hand-coded. As integrations evolve, tools stay current without manual maintenance.

02

Fine-grained access control

Scope each MCP server to read-only, write-only, specific methods, or tagged tool groups. Expose only what your AI agent needs — nothing more.

03

Multi-tenant by design

Each MCP server is scoped to a single connected account with its own credentials. The URL itself is the auth token — no shared secrets, no credential leaking across tenants.

04

Works with every MCP client

Standard JSON-RPC 2.0 protocol. Paste the URL into Claude, ChatGPT, Cursor, or any MCP-compatible agent framework — tools are discovered automatically.

05

Built-in auth, rate limits, and error handling

Tool calls execute through Truto’s proxy layer with automatic OAuth refresh, rate-limit handling, and normalized error responses. No raw API plumbing in your agent.

06

Expiring and auditable servers

Create time-limited MCP servers for contractors or automated workflows. Optional dual-auth requires both the URL and a Truto API token for high-security environments.

Unified APIs

Unified APIs for Elastic Cloud

Skip writing code for every integration. Use Truto’s category-specific Unified APIs out of the box or customize the mappings with AI.

Unified User Directory API

Organizations

Organizations are the top level entity in the source application. Users are associated with an organization.

View Docs

Roles

The Role object represents a role of a User.

View Docs

Users

The User object represents a User.

View Docs

How It Works

From zero to integrated

Start with Elastic Cloud in a free sandbox, usually ready within one business day. No boilerplate, no maintenance burden.

01

Link your customer’s Elastic Cloud account

Use Truto’s frontend SDK to connect your customer’s Elastic Cloud account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

02

We handle authentication

Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

03

Call our API, we call Elastic Cloud

Truto’s Proxy API is a 1-to-1 mapping of the Elastic Cloud API. You call us, we call Elastic Cloud, and pass the response back in the same cycle.

04

Unified response format

Every response follows a single format across all integrations. We translate Elastic Cloud’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about Elastic Cloud on Truto

Authentication, rate limits, data freshness, and everything else you need to know before you integrate.

What Elastic Cloud entities can be managed through Truto's Unified User Directory API?

The Unified User Directory API maps to Elastic Cloud Organizations, Users (Organization members), and Roles. This covers reading org structure, listing and managing members, and mapping role assignments.

How does authentication work for the Elastic Cloud integration?

Elastic Cloud's REST API uses API keys for authentication. Your end users generate an API key from their Elastic Cloud console, and Truto securely stores and manages the credential on your behalf.

Are specific tools already available for Elastic Cloud, or are they built on request?

Elastic Cloud tools are built on request. Once you identify the specific operations you need — such as listing organization members or assigning roles — Truto's team builds and ships the tools for your integration.

Does Truto handle pagination and rate limits for the Elastic Cloud API?

Yes. Truto abstracts away pagination and respects Elastic Cloud API rate limits automatically, so your application doesn't need to implement retry logic or cursor management.

Can I use this integration alongside other user directory integrations through the same Unified API?

Absolutely. The Unified User Directory API provides a consistent schema for Organizations, Users, and Roles across all supported platforms. You write one integration and get normalized data whether the source is Elastic Cloud or another provider.

What level of role granularity is supported?

Elastic Cloud supports both predefined roles (e.g., Organization owner, Billing admin) and custom RBAC roles scoped to specific deployments or serverless projects. The exact role operations available depend on the tools built for your use case.

Elastic Cloud

Get Elastic Cloud integrated into your app

Our team understands what it takes to make a Elastic Cloud integration successful. A short, crisp 30 minute call with folks who understand the problem.