Stack - Versions - CRUD

edit

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.

Request example

edit
curl -XGET https://api.elastic-cloud.com/api/v1/stack/versions \
-H "Authorization: ApiKey $EC_API_KEY"