Try it free

List task executions

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

List task executions in Dynatrace with the AutomationEngine API for a workflow execution, using the execution ID and optional admin access.

GETSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/automation/v1/executions/{executionId}/tasks

Overview

You use the executionId path parameter to list the task executions for a workflow execution. If you set adminAccess, you can access all workflows and executions and also need automation:work. The response returns the task executions for the specified execution.

Authentication

To execute this request, you need a platform token or OAuth access token with automation:workflows:read scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
adminAccessboolean

Allow access to all workflows/executions - additionally requires automation:workflows:admin

queryOptional
executionIdstring-pathRequired

Response

Response codes

CodeTypeDescription
200TaskExecutions-
4XXErrorEnvelope-

Response body objects

The TaskExecutions object

The TaskExecution object

ElementTypeDescription
idstring-
executionstring

Parent execution

namestring-
stateTaskExecutionState-
The element can hold these values
  • CANCELLED
  • DISCARDED
  • ERROR
  • IDLE
  • RUNNING
  • AWAITING_APPROVAL
  • SKIPPED
  • SUCCESS
  • WAITING
  • UNKNOWN
  • POST_PROCESSING
errorReasonstring-
stateInfostring-
inputobject-
startedAtstring-
endedAtstring-
runtimeinteger

Calculate the runtime of a task execution in seconds. If the task execution is not ended, runtime is calculated until now.

positionTaskPosition-
conditionsobject-
predecessorsstring[]-
activeboolean

Whether task is active

result--
conditionResultsobject-
descriptionstring-
actionstring-
isApprovalboolean

Whether this task is an approval request

packageVersionsobject-

The TaskExecutionState object

The TaskPosition object

ElementTypeDescription
xinteger

Grid (not pixel) coordinate in workflow graph. x=0 is horizontal center.

yinteger

Grid (not pixel) coordinate in workflow graph. Expands downwards. Must be >= 1.

The ErrorEnvelope object

ElementTypeDescription
errorError-

The Error object

ElementTypeDescription
messagestring-
codeinteger-
detailsErrorDetails-

The ErrorDetails object

ElementTypeDescription
errorCodestring-
errorRefstring-

Response body JSON models

{
"error": {
"message": "string",
"code": 1,
"details": {
"errorCode": "string",
"errorRef": "string"
}
}
}
Related tags
Platform APIDynatrace Platform