Skip to content

Check automation results

Last updated on

After you have executed an automation, you need to check the progress and results of the automation execution. This guide explains how to monitor automation executions and retrieve their outputs.

How to get the results of all executions for an automation

Section titled “How to get the results of all executions for an automation”

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

  • projectId
  • regionId
  • automationId

Use the following GET request to obtain an overview of all executions for a specific automation:

GET https://automation.api.eu01.stackit.cloud/v1beta/projects/{projectId}/regions/{regionId}/services/volumes/automations/{automationId}/executions

API Reference: GetAutomationExecutions.

Example output of the GET request:

[
{
"completed": "2025-07-21T20:32:28Z",
"created": "2025-07-21T17:32:28Z",
"id": "72c5178a-87fb-437f-88c8-c6f26b3ee4f7",
"status": "running"
}
]

How to get the results of a specific automation execution

Section titled “How to get the results of a specific automation execution”

To check the detailed results of a specific execution, use the executionId from the execution overview and add it to the GET request shown below.

Provide the following information in your API requests:

  • projectId
  • regionId
  • automationId
  • executionId

Use the following GET request to obtain detailed information about a specific execution:

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

API Reference: GetAutomationExecutionDetails.

Example output of a completed execution:

{
"automation": {
"config": {
"description": "Creates daily snapshots for all volumes with specified label",
"id": "eb62d5e5-fc29-4203-9fe7-fe809ae0aefc",
"input": {
"labelsForCreatedSnapshots": {
"key1": "value1",
"key2": "value2"
},
"retentionDays": 7,
"volumeLabelSelector": "myLabelkey1=myLabelValue,myLabelKey2=myOtherLabelValue"
},
"name": "My Daily Volume Snapshot Creation Automation",
"templateId": "62c5178a-87fb-437f-88c8-c6f26b3ee4f6",
"triggers": {
"schedule": {
"rrule": "DTSTART;TZID=Europe/Sofia:20200803T023000\nRRULE:FREQ=DAILY;INTERVAL=1"
}
}
},
"output": [
{
"step_one": "completed"
},
{
"step_two": "completed"
}
]
},
"completed": "2025-07-21T21:32:28Z",
"created": "2025-07-21T17:32:28Z",
"id": "1263fd13-be86-4fe4-a2aa-ef5526c607cd",
"status": "completed"
}

Automation executions can have the following statuses:

  • PENDING: The execution is queued and waiting to start
  • RUNNING: The execution is currently in progress
  • SUCCESSFUL: The execution finished successfully
  • FAILED: The execution encountered an error and stopped
  • TERMINATED: The execution is terminated by the system, because there is another running execution for the same automation

If an execution fails, check the detailed execution results for error messages in the step outputs. Common issues include:

  • Invalid parameters in the automation configuration
  • Insufficient permissions to perform actions on resources
  • Resources not found (e.g., volumes matching the label selector)

For more help, refer to the Automation Service FAQ or contact STACKIT support.