Create an API clientedit

You can build an API client in the language of your choice or use your favorite OpenAPI-enabled development tool.

You can obtain the RESTful API specification directly from Elastic Cloud Enterprise:

curl -k -X GET -H "Authorization: Bearer TOKEN" https://$COORDINATOR_HOST:12443/api/v1/api-docs/swagger.json
TOKEN
A token for a user with sufficient privileges, such as the admin user as returned in the response above.

We use the OpenAPI specification to generate our own API Reference, but you can also use it for automation and to develop your own software layer around Elastic Cloud Enterprise. For example, you can use the API specification in the Swagger Editor to read through our reference content and to generate a client in many different languages.

To learn more, see Generating an Elastic Cloud Enterprise Client