Get stack versions

edit

By default, retrieves only the available Elastic Stack versions. To retrieve all of the Elastic Stack versions, use the show_deleted parameter.

Request

edit

GET /api/v1/stack/versions

Query parameters

edit
Name Type Required Description

show_deleted

boolean; default: false

N

Whether to show deleted stack versions or not

show_unusable

boolean; default: false

N

Whether to show versions that are unusable by the authenticated user

Responses

edit
200

(StackVersionConfigs) The list of all available Elastic Stack versions are retrieved, including the template version and structure.

To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.

Request example

edit
curl -XGET {{hostname}}/api/v1/stack/versions \
-H "Authorization: ApiKey $ECE_API_KEY"