OpenAPI specificationedit

The Elasticsearch Service API is documented using the OpenAPI specification. The current supported version of the specification is 2.0.

A machine readable specification is available at https://cloud.elastic.co/api/v1/api-docs/spec.json.

When using the API, use api.elastic-cloud.com as the host for all endpoints (for example, use https://api.elastic-cloud.com/api/v1/deployments and not https://cloud.elastic.co/api/v1/deployments).

This specification can be used to generate client SDKs, or on tools that support it, such as the Swagger Editor.