Skip to content

Fetch automation templates

Last updated on

After activating the Automation Service, you need to retrieve the available automation templates to create automations. This guide explains how to fetch currently supported templates for use in API requests or the STACKIT Cloud Portal.

For a complete list of supported templates, see the Volume Recovery Point Management template section.

Use the following GET request to obtain a JSON list of all available automation templates:

GET https://automation-service.api.stackit.cloud/v1beta/projects/{projectId}/regions/{region}/services/volumes/automations/templates

Once you have identified a template from this list, you can use it to create an automation. See Create automation via API for instructions.

API Reference: GetAutomationTemplates.

Get information about a specific automation template

Section titled “Get information about a specific automation template”

You need to provide the following information in your API requests:

  • templateId

Use this GET request to obtain more information about a specific automation template:

GET https://automation-service.api.stackit.cloud/v1beta/projects/{projectId}/regions/{region}/services/volumes/automations/templates/{templateId}

Swagger API definition for the STACKIT Automation Service API: GetAutomationTemplate.