Elastic Cloud API

The Elastic Cloud control-plane API creates, scales, upgrades and deletes Elasticsearch and Kibana deployments, and manages accounts, organizations, IAM, traffic filters, extensions, deployment templates and billing costs — 190 paths and 297 operations, published as Swagger 2.0 straight from the live control plane at api.elastic-cloud.com.

Operations 297

Showing the first 250 of 297. The full set is in the contract, and via get_provider_operations.

GET /account Fetch current account information #
PUT /account Updates the current account #
PATCH /account Updates the current account #
GET /billing/costs/{organization_id} Get costs overview for the organization. Currently unavailable in self-hosted ECE. #
GET /billing/costs/{organization_id}/charts Get charts for the organization. Currently unavailable in self-hosted ECE. #
GET /billing/costs/{organization_id}/deployments Get deployments costs for the organization. Currently unavailable in self-hosted ECE. #
GET /billing/costs/{organization_id}/deployments/{deployment_id}/charts Get charts by deployment. Currently unavailable in self-hosted ECE. #
GET /billing/costs/{organization_id}/deployments/{deployment_id}/items Get itemized costs by deployments. Currently unavailable in self-hosted ECE. #
GET /billing/costs/{organization_id}/items Get itemized costs for the organization. Currently unavailable in self-hosted ECE. #
GET /comments/{resource_type}/{resource_id} List Comments #
POST /comments/{resource_type}/{resource_id} Create a Comment #
GET /comments/{resource_type}/{resource_id}/{comment_id} Get Comment #
PUT /comments/{resource_type}/{resource_id}/{comment_id} Update Comment #
DELETE /comments/{resource_type}/{resource_id}/{comment_id} Delete Comment #
GET /deployments List Deployments #
POST /deployments Create Deployment #
POST /deployments/_resync Resynchronize Deployments #
POST /deployments/_search Search Deployments #
POST /deployments/eligible-remote-clusters Get eligible remote clusters #
GET /deployments/extensions List Extensions #
POST /deployments/extensions Create an extension #
GET /deployments/extensions/{extension_id} Get Extension #
POST /deployments/extensions/{extension_id} Update Extension #
PUT /deployments/extensions/{extension_id} Uploads the Extension #
DELETE /deployments/extensions/{extension_id} Delete Extension #
GET /deployments/templates Get deployment templates #
POST /deployments/templates Create deployment template #
GET /deployments/templates/{template_id} Get deployment template #
PUT /deployments/templates/{template_id} Set deployment template #
DELETE /deployments/templates/{template_id} Delete deployment template #
GET /deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets Get associated rulesets #
GET /deployments/traffic-filter/rulesets List traffic filter rulesets #
POST /deployments/traffic-filter/rulesets Create a ruleset #
GET /deployments/traffic-filter/rulesets/{ruleset_id} Retrieves the ruleset by ID. #
PUT /deployments/traffic-filter/rulesets/{ruleset_id} Updates a ruleset #
DELETE /deployments/traffic-filter/rulesets/{ruleset_id} Delete a ruleset #
GET /deployments/traffic-filter/rulesets/{ruleset_id}/associations Get associated deployments #
POST /deployments/traffic-filter/rulesets/{ruleset_id}/associations Create ruleset association #
DELETE /deployments/traffic-filter/rulesets/{ruleset_id}/associations/{association_type}/{associated_entity_id} Delete ruleset association #
GET /deployments/{deployment_id} Get Deployment #
PUT /deployments/{deployment_id} Update Deployment #
DELETE /deployments/{deployment_id} Delete Deployment #
POST /deployments/{deployment_id}/_restore Restores a shutdown Deployment #
POST /deployments/{deployment_id}/_resync Resynchronize Deployment #
POST /deployments/{deployment_id}/_shutdown Shuts down Deployment #
GET /deployments/{deployment_id}/apm/{ref_id} Get Deployment APM Resource Info #
POST /deployments/{deployment_id}/apm/{ref_id}/_reset-token Reset the secret token for an APM resource. #
GET /deployments/{deployment_id}/appsearch/{ref_id} Get Deployment App Search Resource Info #
GET /deployments/{deployment_id}/appsearch/{ref_id}/read_only_mode Set AppSearch read-only status #
PUT /deployments/{deployment_id}/appsearch/{ref_id}/read_only_mode Set AppSearch read-only status #
GET /deployments/{deployment_id}/certificate-authority Get certificate authority #
GET /deployments/{deployment_id}/elasticsearch/{ref_id} Get Deployment Elasticsearch Resource Info #
POST /deployments/{deployment_id}/elasticsearch/{ref_id}/_enable-ccr Migrate Elasticsearch and associated Kibana resources to enable CCR #
POST /deployments/{deployment_id}/elasticsearch/{ref_id}/_enable-ilm Migrate Elasticsearch resource to use ILM #
POST /deployments/{deployment_id}/elasticsearch/{ref_id}/_enable-slm Migrate Elasticsearch resource to use SLM #
POST /deployments/{deployment_id}/elasticsearch/{ref_id}/_reset-password Reset 'elastic' user password #
POST /deployments/{deployment_id}/elasticsearch/{ref_id}/_restart Restart Deployment Elasticsearch Resource #
POST /deployments/{deployment_id}/elasticsearch/{ref_id}/_shutdown Shutdown Deployment Elasticsearch Resource #
POST /deployments/{deployment_id}/elasticsearch/{ref_id}/eligible-remote-clusters Get eligible remote clusters #
POST /deployments/{deployment_id}/elasticsearch/{ref_id}/instances/{instance_ids}/_move Move Elasticsearch resource instances #
GET /deployments/{deployment_id}/elasticsearch/{ref_id}/keystore Get the items in the Elasticsearch resource keystore #
PATCH /deployments/{deployment_id}/elasticsearch/{ref_id}/keystore Add or remove items from the Elasticsearch resource keystore #
GET /deployments/{deployment_id}/elasticsearch/{ref_id}/remote-clusters Get certificate based remote clusters #
PUT /deployments/{deployment_id}/elasticsearch/{ref_id}/remote-clusters Set certificate based remote clusters #
GET /deployments/{deployment_id}/elasticsearch/{ref_id}/snapshot/repository List the attached snapshot repositories #
POST /deployments/{deployment_id}/elasticsearch/{ref_id}/snapshot/repository Create a snapshot repository for Elasticsearch resource #
DELETE /deployments/{deployment_id}/elasticsearch/{ref_id}/snapshot/repository/{repository_name} Remove the attached snapshot repository #
GET /deployments/{deployment_id}/elasticsearch/{ref_id}/tiers Get Elasticsearch tiers #
PATCH /deployments/{deployment_id}/elasticsearch/{ref_id}/tiers Update Elasticsearch tiers #
GET /deployments/{deployment_id}/enterprise_search/{ref_id} Get Deployment Enterprise Search Resource Info #
GET /deployments/{deployment_id}/heap_dumps Get details about heap dumps for a Deployment #
GET /deployments/{deployment_id}/integrations_server/{ref_id} Get Deployment Integrations Server Resource Info #
GET /deployments/{deployment_id}/kibana/{ref_id} Get Deployment Kibana Resource Info #
GET /deployments/{deployment_id}/migrate_template Build request to migrate deployment to a different template #
GET /deployments/{deployment_id}/tags Get the tags for a Deployment #
PUT /deployments/{deployment_id}/tags Set the tags for a Deployment #
POST /deployments/{deployment_id}/upgrade Upgrade a Deployment to a new Elastic Stack version #
GET /deployments/{deployment_id}/upgrade_assistant/status Get Deployment upgrade assistant status #
POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/_restore Restores a shutdown resource #
GET /deployments/{deployment_id}/{resource_kind}/{ref_id}/activity/{attempt_id} Get plan activity #
POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/diagnostics/_capture Capture diagnostics for an Elasticsearch or Kibana resource #
POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/_start Start all instances #
POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/_stop Stop all instances #
POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/maintenance-mode/_start Start maintenance mode (all instances) #
POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/maintenance-mode/_stop Stop maintenance mode (all instances) #
PUT /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/overrides Set size overrides #
POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/{instance_ids}/_start Start instances #
POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/{instance_ids}/_stop Stop instances #
POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/{instance_ids}/maintenance-mode/_start Start maintenance mode #
POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/{instance_ids}/maintenance-mode/_stop Stop maintenance mode #
PUT /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/{instance_ids}/overrides Set size overrides #
POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/{instance_id}/heap_dump/_capture Capture a new on-demand heap dump for the given instance #
GET /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/{instance_id}/heap_dump/_download Download the given instance's heap dump #
POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/{instance_id}/thread_dump/_capture Capture a new thread dump for the given instance #
POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/metadata/raw Set a Deployment's resource metadata #
PATCH /deployments/{deployment_id}/{resource_kind}/{ref_id}/metadata/raw Patch a Deployment's resource metadata #
DELETE /deployments/{deployment_id}/{resource_kind}/{ref_id}/plan/pending Cancel resource pending plan #
GET /deployments/{deployment_id}/{resource_kind}/{ref_id}/proxy/{proxy_path} Proxy HTTP GET request #
POST /deployments/{deployment_id}/{resource_kind}/{ref_id}/proxy/{proxy_path} Proxy HTTP POST request #
PUT /deployments/{deployment_id}/{resource_kind}/{ref_id}/proxy/{proxy_path} Proxy HTTP PUT request #
DELETE /deployments/{deployment_id}/{resource_kind}/{ref_id}/proxy/{proxy_path} Proxy HTTP DELETE request #
GET /deployments/{deployment_id}/{resource_kind}/{ref_id}/user_settings Get the user settings of a Deployment resource #
PUT /deployments/{deployment_id}/{resource_kind}/{ref_id}/user_settings Update user settings for a deployment resource #
DELETE /deployments/{deployment_id}/{stateless_resource_kind}/{ref_id} Delete Stateless Resource from Deployment #
POST /deployments/{deployment_id}/{stateless_resource_kind}/{ref_id}/_restart Restart Deployment Stateless Resource #
POST /deployments/{deployment_id}/{stateless_resource_kind}/{ref_id}/_shutdown Shutdown Deployment Stateless Resource #
GET /organizations List organizations #
GET /organizations/invitations/{invitation_token} Get organization invitation #
GET /organizations/{organization_id} Fetch organization information #
PUT /organizations/{organization_id} Update organization #
GET /organizations/{organization_id}/domains Get domain claims #
DELETE /organizations/{organization_id}/domains Delete domain claim #
POST /organizations/{organization_id}/domains/_generate_verification_code Generate verification code #
POST /organizations/{organization_id}/domains/_verify Verify domain claim #
GET /organizations/{organization_id}/idp Get organization IdP #
PUT /organizations/{organization_id}/idp Setup organization IdP #
DELETE /organizations/{organization_id}/idp Tear down organization IdP #
GET /organizations/{organization_id}/idp/metadata.xml Get organization service provider SAML2 metadata.xml for configuring the identity provider #
GET /organizations/{organization_id}/invitations List organization invitations #
POST /organizations/{organization_id}/invitations Create organization invitations #
DELETE /organizations/{organization_id}/invitations/{invitation_tokens} Delete organization invitations #
GET /organizations/{organization_id}/members List organization members #
DELETE /organizations/{organization_id}/members/{user_ids} Delete organization memberships #
GET /organizations/{organization_id}/role_mappings Get role mappings #
POST /organizations/{organization_id}/role_mappings Adds role mapping #
PUT /organizations/{organization_id}/role_mappings Updates role mappings #
DELETE /organizations/{organization_id}/role_mappings Delete role mappings #
DELETE /organizations/{organization_id}/role_mappings/{role_names} Delete role mapping #
PUT /organizations/{organization_id}/role_mappings/{role_name} Update role mapping #
GET /phone-home/config Get ECE telemetry config #
PUT /phone-home/config Set ECE telemetry config #
GET /platform Get platform info #
GET /platform/configuration/api_base_url Get API base Url #
PUT /platform/configuration/api_base_url Set API base Url #
GET /platform/configuration/instances Get instance configurations #
POST /platform/configuration/instances Create instance configuration #
GET /platform/configuration/instances/{id} Get instance configuration #
PUT /platform/configuration/instances/{id} Set instance configuration #
DELETE /platform/configuration/instances/{id} Delete a instance configuration #
GET /platform/configuration/networking/deployment_domain_name Get default Deployment Domain Name #
PUT /platform/configuration/networking/deployment_domain_name Set default Deployment Domain Name #
GET /platform/configuration/networking/deployment_domain_name/{resource_kind} Get Deployment Domain Name for a resource kind #
PUT /platform/configuration/networking/deployment_domain_name/{resource_kind} Set Deployment Domain Name for a resource kind. #
GET /platform/configuration/security/deployment Get current security deployment #
POST /platform/configuration/security/deployment Create security deployment #
PUT /platform/configuration/security/deployment Update security deployment #
GET /platform/configuration/security/enrollment-tokens Get enrollment tokens #
POST /platform/configuration/security/enrollment-tokens Create enrollment token #
DELETE /platform/configuration/security/enrollment-tokens/{token} Delete enrollment token #
GET /platform/configuration/security/extra_certs List extra certificates #
GET /platform/configuration/security/extra_certs/{cert_id} Read extra certificate #
PUT /platform/configuration/security/extra_certs/{cert_id} Update extra certificate #
DELETE /platform/configuration/security/extra_certs/{cert_id} Delete extra certificate #
GET /platform/configuration/security/realms List security realm configurations #
POST /platform/configuration/security/realms/_reorder Reorder security realms #
POST /platform/configuration/security/realms/active-directory Create Active Directory configuration #
GET /platform/configuration/security/realms/active-directory/{realm_id} Get Active Directory configuration #
PUT /platform/configuration/security/realms/active-directory/{realm_id} Update Active Directory configuration #
DELETE /platform/configuration/security/realms/active-directory/{realm_id} Delete Active Directory configuration #
POST /platform/configuration/security/realms/ldap Create LDAP configuration #
GET /platform/configuration/security/realms/ldap/{realm_id} Get LDAP configuration #
PUT /platform/configuration/security/realms/ldap/{realm_id} Update LDAP configuration #
DELETE /platform/configuration/security/realms/ldap/{realm_id} Delete LDAP configuration #
POST /platform/configuration/security/realms/saml Create SAML configuration #
GET /platform/configuration/security/realms/saml/{realm_id} Get SAML configuration #
PUT /platform/configuration/security/realms/saml/{realm_id} Update SAML configuration #
DELETE /platform/configuration/security/realms/saml/{realm_id} Delete SAML configuration #
GET /platform/configuration/security/tls/{service_name} Get TLS certificate #
POST /platform/configuration/security/tls/{service_name} Set TLS certificate #
GET /platform/configuration/snapshots/repositories Get snapshot repositories #
GET /platform/configuration/snapshots/repositories/{repository_name} Get snapshot repository #
PUT /platform/configuration/snapshots/repositories/{repository_name} Set snapshot repository #
DELETE /platform/configuration/snapshots/repositories/{repository_name} Delete snapshot repository #
GET /platform/configuration/store List Config Store Option #
GET /platform/configuration/store/{config_option_id} Find Config Store Option by name #
POST /platform/configuration/store/{config_option_id} Create Config Store Option #
PUT /platform/configuration/store/{config_option_id} Update Config Store Option #
DELETE /platform/configuration/store/{config_option_id} Delete Config Store Option by name #
GET /platform/configuration/templates/deployments/global Get all templates cross region. #
GET /platform/configuration/trust-relationships List trust relationships #
POST /platform/configuration/trust-relationships Create trust relationship #
GET /platform/configuration/trust-relationships/{trust_relationship_id} Get trust relationship #
PUT /platform/configuration/trust-relationships/{trust_relationship_id} Update trust relationship #
DELETE /platform/configuration/trust-relationships/{trust_relationship_id} Delete trust relationship #
GET /platform/infrastructure/adminconsoles Get adminconsoles #
POST /platform/infrastructure/adminconsoles/_reindex Reindex region indices #
GET /platform/infrastructure/adminconsoles/{adminconsole_id}/logging_settings Get adminconsole logging settings #
PUT /platform/infrastructure/adminconsoles/{adminconsole_id}/logging_settings Set adminconsole logging settings #
DELETE /platform/infrastructure/adminconsoles/{adminconsole_id}/logging_settings Delete adminconsole logging settings #
PATCH /platform/infrastructure/adminconsoles/{adminconsole_id}/logging_settings Update adminconsole logging settings #
GET /platform/infrastructure/allocators Get allocators #
POST /platform/infrastructure/allocators/_resync Resynchronize allocators #
POST /platform/infrastructure/allocators/_search Search allocators #
GET /platform/infrastructure/allocators/{allocator_id} Get allocator #
DELETE /platform/infrastructure/allocators/{allocator_id} Delete allocator #
POST /platform/infrastructure/allocators/{allocator_id}/_resync Resynchronize allocator #
POST /platform/infrastructure/allocators/{allocator_id}/clusters/_move Move clusters #
POST /platform/infrastructure/allocators/{allocator_id}/clusters/{cluster_type}/_move Move clusters by type #
GET /platform/infrastructure/allocators/{allocator_id}/logging_settings Get allocator logging settings #
PUT /platform/infrastructure/allocators/{allocator_id}/logging_settings Set allocator logging settings #
DELETE /platform/infrastructure/allocators/{allocator_id}/logging_settings Delete allocator logging settings #
PATCH /platform/infrastructure/allocators/{allocator_id}/logging_settings Update allocator logging settings #
POST /platform/infrastructure/allocators/{allocator_id}/maintenance-mode/_start Start maintenance mode #
POST /platform/infrastructure/allocators/{allocator_id}/maintenance-mode/_stop Stop maintenance mode #
GET /platform/infrastructure/allocators/{allocator_id}/metadata Get allocator metadata #
PUT /platform/infrastructure/allocators/{allocator_id}/metadata Set allocator metadata #
PUT /platform/infrastructure/allocators/{allocator_id}/metadata/{key} Set allocator metadata item #
DELETE /platform/infrastructure/allocators/{allocator_id}/metadata/{key} Delete allocator metadata item #
GET /platform/infrastructure/allocators/{allocator_id}/settings Get allocator settings #
PUT /platform/infrastructure/allocators/{allocator_id}/settings Set allocator settings #
PATCH /platform/infrastructure/allocators/{allocator_id}/settings Update allocator settings #
GET /platform/infrastructure/blueprinter/roles List roles #
POST /platform/infrastructure/blueprinter/roles Create a role #
GET /platform/infrastructure/blueprinter/roles/{blueprinter_role_id} Get role #
PUT /platform/infrastructure/blueprinter/roles/{blueprinter_role_id} Update role #
DELETE /platform/infrastructure/blueprinter/roles/{blueprinter_role_id} Delete role #
PUT /platform/infrastructure/blueprinter/roles/{blueprinter_role_id}/blessings Set blessings #
PUT /platform/infrastructure/blueprinter/roles/{blueprinter_role_id}/blessings/{runner_id} Add Blessing #
GET /platform/infrastructure/constructors Get constructors #
POST /platform/infrastructure/constructors/_resync Resynchronize constructors #
GET /platform/infrastructure/constructors/{constructor_id} Get constructor #
POST /platform/infrastructure/constructors/{constructor_id}/_resync Resynchronize constructor #
GET /platform/infrastructure/constructors/{constructor_id}/logging_settings Get constructor logging settings #
PUT /platform/infrastructure/constructors/{constructor_id}/logging_settings Set constructor logging settings #
DELETE /platform/infrastructure/constructors/{constructor_id}/logging_settings Delete constructor logging settings #
PATCH /platform/infrastructure/constructors/{constructor_id}/logging_settings Update constructor logging settings #
POST /platform/infrastructure/constructors/{constructor_id}/maintenance-mode/_start Start maintenance mode #
POST /platform/infrastructure/constructors/{constructor_id}/maintenance-mode/_stop Stop maintenance mode #
GET /platform/infrastructure/coordinators Get coordinators #
GET /platform/infrastructure/coordinators/candidates Get coordinator candidates #
GET /platform/infrastructure/coordinators/candidates/{coordinator_candidate_id} Get a coordinator candidate #
DELETE /platform/infrastructure/coordinators/candidates/{coordinator_candidate_id} Delete coordinator candidate #
POST /platform/infrastructure/coordinators/candidates/{coordinator_candidate_id}/_promote Promote a coordinator candidate #
GET /platform/infrastructure/coordinators/{coordinator_id} Get a coordinator #
POST /platform/infrastructure/coordinators/{coordinator_id}/_demote Demote a coordinator #
GET /platform/infrastructure/proxies Get proxies #
POST /platform/infrastructure/proxies/filtered-groups Create filtered group of proxies #
GET /platform/infrastructure/proxies/filtered-groups/{proxies_filtered_group_id} Get filtered group of proxies #
PUT /platform/infrastructure/proxies/filtered-groups/{proxies_filtered_group_id} Update filtered group of proxies #
DELETE /platform/infrastructure/proxies/filtered-groups/{proxies_filtered_group_id} Delete filtered group of proxies #
GET /platform/infrastructure/proxies/filtered-groups/{proxies_filtered_group_id}/health Get health for a filtered group of proxies #
GET /platform/infrastructure/proxies/health Get proxy health #
GET /platform/infrastructure/proxies/settings Get proxies settings #
PUT /platform/infrastructure/proxies/settings Set proxy settings #
PATCH /platform/infrastructure/proxies/settings Update proxy settings #
GET /platform/infrastructure/proxies/{proxy_id} Get proxy #
GET /platform/infrastructure/runners Get runners #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elastic-cloud-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elk-stack-elastic-cloud-swagger.json Raw ↑
{
  "swagger" : "2.0",
  "info" : {
    "version" : "1",
    "title" : "Elastic Cloud Enterprise API",
    "termsOfService" : ""
  },
  "host" : "{{hostname}}",
  "basePath" : "/api/v1",
  "tags" : [ {
    "name" : "Accounts"
  }, {
    "name" : "Authentication"
  }, {
    "name" : "BillingCostsAnalysis"
  }, {
    "name" : "Comments"
  }, {
    "name" : "DeploymentTemplates"
  }, {
    "name" : "Deployments"
  }, {
    "name" : "DeploymentsTrafficFilter"
  }, {
    "name" : "Extensions"
  }, {
    "name" : "IamService"
  }, {
    "name" : "Organizations"
  }, {
    "name" : "Platform"
  }, {
    "name" : "PlatformConfigurationInstances"
  }, {
    "name" : "PlatformConfigurationNetworking"
  }, {
    "name" : "PlatformConfigurationSecurity"
  }, {
    "name" : "PlatformConfigurationSnapshots"
  }, {
    "name" : "PlatformConfigurationTemplates"
  }, {
    "name" : "PlatformConfigurationTrustRelationships"
  }, {
    "name" : "PlatformInfrastructure"
  }, {
    "name" : "Stack"
  }, {
    "name" : "Telemetry"
  }, {
    "name" : "TrustedEnvironments"
  }, {
    "name" : "UserRoleAssignments"
  }, {
    "name" : "Users"
  } ],
  "schemes" : [ "https" ],
  "security" : [ {
    "basicAuth" : [ ]
  }, {
    "apiKey" : [ ]
  } ],
  "paths" : {
    "/account" : {
      "get" : {
        "tags" : [ "Accounts" ],
        "summary" : "Fetch current account information",
        "description" : "Fetch current account information.",
        "operationId" : "get-current-account",
        "produces" : [ "application/json" ],
        "parameters" : [ ],
        "responses" : {
          "200" : {
            "description" : "Account fetched successfully",
            "schema" : {
              "$ref" : "#/definitions/AccountResponse"
            }
          },
          "404" : {
            "description" : "Account not found. (code: `accounts.not_found`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "accounts.not_found" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          }
        },
        "x-doc" : {
          "tag" : "Accounts"
        }
      },
      "put" : {
        "tags" : [ "Accounts" ],
        "summary" : "Updates the current account",
        "description" : "Updates the current account.",
        "operationId" : "update-current-account",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "description" : "the current account",
          "required" : true,
          "schema" : {
            "$ref" : "#/definitions/AccountUpdateRequest"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Account updated successfully",
            "schema" : {
              "$ref" : "#/definitions/AccountResponse"
            }
          },
          "404" : {
            "description" : "Account not found. (code: `accounts.not_found`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "accounts.not_found" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          }
        },
        "x-doc" : {
          "tag" : "Accounts"
        }
      },
      "patch" : {
        "tags" : [ "Accounts" ],
        "summary" : "Updates the current account",
        "description" : "Updates the current account.",
        "operationId" : "patch-current-account",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "in" : "body",
          "name" : "body",
          "description" : "All changes in the specified object are applied to the current account according to the JSON Merge Patch processing rules. Omitting existing fields causes the same values to be reapplied. Specifying a `null` value reverts the field to the default value, or removes the field when no default value exists.",
          "required" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Account updated successfully",
            "schema" : {
              "$ref" : "#/definitions/AccountResponse"
            }
          },
          "404" : {
            "description" : "Account not found. (code: `accounts.not_found`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "accounts.not_found" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          }
        },
        "x-doc" : {
          "tag" : "Accounts"
        }
      }
    },
    "/billing/costs/{organization_id}" : {
      "get" : {
        "tags" : [ "BillingCostsAnalysis" ],
        "summary" : "Get costs overview for the organization. Currently unavailable in self-hosted ECE.",
        "description" : "Retrieves an overview of the costs by organization ID.",
        "operationId" : "get-costs-overview",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "organization_id",
          "in" : "path",
          "description" : "Identifier for the organization",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "from",
          "in" : "query",
          "description" : "A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month.",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "to",
          "in" : "query",
          "description" : "A datetime for the end of the desired range for which to fetch costs. Defaults to the current date.",
          "required" : false,
          "type" : "string"
        } ],
        "deprecated" : true,
        "responses" : {
          "200" : {
            "description" : "Top-level cost overview for the organization",
            "schema" : {
              "$ref" : "#/definitions/CostsOverview"
            }
          },
          "400" : {
            "description" : "The specified date range is invalid. (code: `costs.invalid_date_range`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "costs.invalid_date_range" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "403" : {
            "description" : "The current user does not have access to the requested organization. (code: `organization.invalid_access`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "organization.invalid_access" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "404" : {
            "description" : "Organization not found. (code: `organization.not_found`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "organization.not_found" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "500" : {
            "description" : "An error occurred when fetching an overview of the costs for the organization. (code: `billing_service.failed_request`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "billing_service.failed_request" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          }
        },
        "x-doc" : {
          "tag" : "Billing Costs Analysis"
        }
      }
    },
    "/billing/costs/{organization_id}/charts" : {
      "get" : {
        "tags" : [ "BillingCostsAnalysis" ],
        "summary" : "Get charts for the organization. Currently unavailable in self-hosted ECE.",
        "description" : "Retrieves the usage charts for the organization.",
        "operationId" : "get-costs-charts",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "organization_id",
          "in" : "path",
          "description" : "Identifier for the organization",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "from",
          "in" : "query",
          "description" : "A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month.",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "to",
          "in" : "query",
          "description" : "A datetime for the end of the desired range for which to fetch costs. Defaults to the current date.",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "bucketing_strategy",
          "in" : "query",
          "description" : "The desired bucketing strategy for the charts. Defaults to `daily`.",
          "required" : false,
          "type" : "string",
          "default" : "daily",
          "enum" : [ "daily", "monthly" ]
        } ],
        "deprecated" : true,
        "responses" : {
          "200" : {
            "description" : "The usage charts of an organization.",
            "schema" : {
              "$ref" : "#/definitions/ChartItems"
            }
          },
          "400" : {
            "description" : "The specified date range is invalid. (code: `costs.invalid_date_range`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "costs.invalid_date_range" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "403" : {
            "description" : "The current user does not have access to the requested organization. (code: `organization.invalid_access`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "organization.invalid_access" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "404" : {
            "description" : "Organization not found. (code: `organization.not_found`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "organization.not_found" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "429" : {
            "description" : "Too many requests. (code: `billing_service.rate_limited`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "billing_service.rate_limited" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "500" : {
            "description" : "Error fetching the itemized costs for the organization. (code: `billing_service.failed_request`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "billing_service.failed_request" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          }
        },
        "x-doc" : {
          "tag" : "Billing Costs Analysis"
        }
      }
    },
    "/billing/costs/{organization_id}/deployments" : {
      "get" : {
        "tags" : [ "BillingCostsAnalysis" ],
        "summary" : "Get deployments costs for the organization. Currently unavailable in self-hosted ECE.",
        "description" : "Retrieves the costs associated with all deployments for the organization.",
        "operationId" : "get-costs-deployments",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "organization_id",
          "in" : "path",
          "description" : "Identifier for the organization",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "from",
          "in" : "query",
          "description" : "A datetime for the beginning of the desired range for which to fetch activity. Defaults to start of current month.",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "to",
          "in" : "query",
          "description" : "A datetime for the end of the desired range for which to fetch activity. Defaults to the current date.",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "Accept",
          "in" : "header",
          "description" : "Accept header containing the content preference.",
          "required" : false,
          "type" : "string"
        } ],
        "deprecated" : true,
        "responses" : {
          "200" : {
            "description" : "The costs associated to a set of products",
            "schema" : {
              "$ref" : "#/definitions/DeploymentsCosts"
            }
          },
          "400" : {
            "description" : "Invalid date range specified. (code: `costs.invalid_date_range`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "costs.invalid_date_range" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "403" : {
            "description" : "The current user does not have access to the requested organization. (code: `organization.invalid_access`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "organization.invalid_access" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "404" : {
            "description" : "Organization not found. (code: `organization.not_found`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "organization.not_found" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "500" : {
            "description" : "An error occurred when fetching the costs associated with all deployments for the organization. (code: `billing_service.failed_request`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "billing_service.failed_request" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          }
        },
        "x-doc" : {
          "tag" : "Billing Costs Analysis"
        }
      }
    },
    "/billing/costs/{organization_id}/deployments/{deployment_id}/charts" : {
      "get" : {
        "tags" : [ "BillingCostsAnalysis" ],
        "summary" : "Get charts by deployment. Currently unavailable in self-hosted ECE.",
        "description" : "Retrieves the usage charts for the given  deployment.",
        "operationId" : "get-costs-charts-by-deployment",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "organization_id",
          "in" : "path",
          "description" : "Identifier for the organization",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "deployment_id",
          "in" : "path",
          "description" : "Id of a Deployment",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "from",
          "in" : "query",
          "description" : "A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month.",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "to",
          "in" : "query",
          "description" : "A datetime for the end of the desired range for which to fetch costs. Defaults to the current date.",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "bucketing_strategy",
          "in" : "query",
          "description" : "The desired bucketing strategy for the charts. Defaults to `daily`.",
          "required" : false,
          "type" : "string",
          "default" : "daily",
          "enum" : [ "daily", "monthly" ]
        } ],
        "deprecated" : true,
        "responses" : {
          "200" : {
            "description" : "The usage charts of a deployment.",
            "schema" : {
              "$ref" : "#/definitions/ChartItems"
            }
          },
          "400" : {
            "description" : "The specified date range is invalid. (code: `costs.invalid_date_range`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "costs.invalid_date_range" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "403" : {
            "description" : "The current user does not have access to the requested organization. (code: `organization.invalid_access`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "organization.invalid_access" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "404" : {
            "description" : "Organization not found. (code: `organization.not_found`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "organization.not_found" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "429" : {
            "description" : "Too many requests. (code: `billing_service.rate_limited`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "billing_service.rate_limited" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "500" : {
            "description" : "Error fetching the itemized costs for the organization. (code: `billing_service.failed_request`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "billing_service.failed_request" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          }
        },
        "x-doc" : {
          "tag" : "Billing Costs Analysis"
        }
      }
    },
    "/billing/costs/{organization_id}/deployments/{deployment_id}/items" : {
      "get" : {
        "tags" : [ "BillingCostsAnalysis" ],
        "summary" : "Get itemized costs by deployments. Currently unavailable in self-hosted ECE.",
        "description" : "Retrieves the itemized costs for the given deployment.",
        "operationId" : "get-costs-items-by-deployment",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "organization_id",
          "in" : "path",
          "description" : "Identifier for the organization",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "deployment_id",
          "in" : "path",
          "description" : "Id of a Deployment",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "from",
          "in" : "query",
          "description" : "A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month.",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "to",
          "in" : "query",
          "description" : "A datetime for the end of the desired range for which to fetch costs. Defaults to the current date.",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "Accept",
          "in" : "header",
          "description" : "Determines the response body format. Can be either application/json or text/csv.",
          "required" : false,
          "type" : "string"
        } ],
        "deprecated" : true,
        "responses" : {
          "200" : {
            "description" : "The costs associated to a set items billed for a single deployment.",
            "schema" : {
              "$ref" : "#/definitions/ItemsCosts"
            }
          },
          "400" : {
            "description" : "The specified date range is invalid. (code: `costs.invalid_date_range`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "costs.invalid_date_range" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "403" : {
            "description" : "The current user does not have access to the requested organization. (code: `organization.invalid_access`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "organization.invalid_access" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "404" : {
            "description" : "* The organization was not found. (code: `organization.not_found`)\n* The Elasticsearch cluster was not found. (code: `billing_service.es_cluster_id_not_found`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "organization.not_found", "billing_service.es_cluster_id_not_found" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "500" : {
            "description" : "An error occurred when fetching the itemized costs for the given deployment of the organization. (code: `billing_service.failed_request`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "billing_service.failed_request" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          }
        },
        "x-doc" : {
          "tag" : "Billing Costs Analysis"
        }
      }
    },
    "/billing/costs/{organization_id}/items" : {
      "get" : {
        "tags" : [ "BillingCostsAnalysis" ],
        "summary" : "Get itemized costs for the organization. Currently unavailable in self-hosted ECE.",
        "description" : "Retrieves the itemized costs for the organization.",
        "operationId" : "get-costs-items",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "organization_id",
          "in" : "path",
          "description" : "Identifier for the organization",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "from",
          "in" : "query",
          "description" : "A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month.",
          "required" : false,
          "type" : "string"
        }, {
          "name" : "to",
          "in" : "query",
          "description" : "A datetime for the end of the desired range for which to fetch costs. Defaults to the current date.",
          "required" : false,
          "type" : "string"
        } ],
        "deprecated" : true,
        "responses" : {
          "200" : {
            "description" : "The costs associated to a set of items",
            "schema" : {
              "$ref" : "#/definitions/ItemsCosts"
            }
          },
          "400" : {
            "description" : "The specified date range is invalid. (code: `costs.invalid_date_range`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "costs.invalid_date_range" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "403" : {
            "description" : "The current user does not have access to the requested organization. (code: `organization.invalid_access`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "organization.invalid_access" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "404" : {
            "description" : "Organization not found. (code: `organization.not_found`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "organization.not_found" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
          "500" : {
            "description" : "Error fetching the itemized costs for the organization. (code: `billing_service.failed_request`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "billing_service.failed_request" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          }
        },
        "x-doc" : {
          "tag" : "Billing Costs Analysis"
        }
      }
    },
    "/comments/{resource_type}/{resource_id}" : {
      "get" : {
        "tags" : [ "Comments" ],
        "summary" : "List Comments",
        "description" : "Retrieves all the comments for a given Resource, in reverse modified time order.",
        "operationId" : "list-comment",
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "resource_type",
          "in" : "path",
          "description" : "The kind of Resource that a Comment belongs to. Should be one of [elasticsearch, kibana, apm, appsearch, enterprise_search, integrations_server, allocator, constructor, runner, proxy].",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "resource_id",
          "in" : "path",
          "description" : "Id of the Resource that a Comment belongs to.",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "The Comments",
            "schema" : {
              "$ref" : "#/definitions/CommentsWithMetas"
            }
          }
        },
        "x-doc" : {
          "tag" : "Comments"
        }
      },
      "post" : {
        "tags" : [ "Comments" ],
        "summary" : "Create a Comment",
        "description" : "Creates a comment for the given Resource.",
        "operationId" : "create-comment",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "resource_type",
          "in" : "path",
          "description" : "The kind of Resource that a Comment belongs to. Should be one of [elasticsearch, kibana, apm, appsearch, enterprise_search, integrations_server, allocator, constructor, runner, proxy].",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "resource_id",
          "in" : "path",
          "description" : "Id of the Resource that a Comment belongs to.",
          "required" : true,
          "type" : "string"
        }, {
          "in" : "body",
          "name" : "body",
          "description" : "Data for comment creation",
          "required" : true,
          "schema" : {
            "$ref" : "#/definitions/CommentCreateRequest"
          }
        } ],
        "responses" : {
          "201" : {
            "description" : "The Comment that was just created.",
            "headers" : {
              "x-cloud-resource-version" : {
                "type" : "string",
                "description" : "The resource version, which is used to avoid update conflicts with concurrent operations"
              },
              "x-cloud-resource-created" : {
                "type" : "string",
                "description" : "The date-time when the resource was created (ISO format relative to UTC)"
              },
              "x-cloud-resource-last-modified" : {
                "type" : "string",
                "description" : "The date-time when the resource was last modified (ISO format relative to UTC)"
              }
            },
            "schema" : {
              "$ref" : "#/definitions/Comment"
            }
          },
          "401" : {
            "description" : "Your current session does not have a user id associated with it. (code: `comments.no_user_id`)",
            "headers" : {
              "x-cloud-error-codes" : {
                "type" : "string",
                "description" : "The error codes associated with the response",
                "enum" : [ "comments.no_user_id" ]
              }
            },
            "schema" : {
              "$ref" : "#/definitions/BasicFailedReply"
            }
          },
  

# --- truncated at 32 KB (1163 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/elk-stack/refs/heads/main/openapi/_original/elk-stack-elastic-cloud-swagger.json