OpenAPI specification

edit

The Elasticsearch Service API is documented using the OpenAPI specification. The current supported version of the specification is 2.0. View the documentation at https://www.elastic.co/docs/api/doc/cloud.

A machine readable specification is available at https://api.elastic-cloud.com/api/v1/api-docs-user/swagger.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.