Try it free

Get an execution

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Retrieve an execution in Dynatrace with the Automation API by UUID, returning the execution details for the specified run.

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

Overview

You provide the execution UUID in the id path parameter and can include adminAccess to allow access to all workflows and executions. Dynatrace returns the execution details for that identifier through the Automation API.

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
idstring

A UUID string identifying this execution.

pathRequired

Response

Response codes

CodeTypeDescription
200Execution-
4XXErrorEnvelope-

Response body objects

The Execution object

ElementTypeDescription
idstring-
workflowstring

Executed Workflow

stateExecutionState-
The element can hold these values
  • CANCELLED
  • ERROR
  • PAUSED
  • RUNNING
  • SUCCESS
  • UNKNOWN
stateInfostring-
inputobject-
providedInputobject-
paramsobject-
startedAtstring-
endedAtstring-
runtimeinteger

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

triggerstring-
schedulestring-
eventTriggerstring-
userstring-
actorstring-
titlestring-
result--
triggerTypeTriggerType-
workflowVersioninteger-
workflowTypeWorkflowType-
triggerTypeDetailTriggerSubTypeDetail | TriggerWorkflowDetail | TriggerManualDetail-
parentExecutionstring-
parentTaskNamestring

Parent task execution's name (subworkflows only)

rootExecutionstring-
rootWorkflowstring-
isDraftboolean-

The ExecutionState object

The TriggerType object

The WorkflowType object

Represents a Workflow type.

The TriggerTypeDetail object

The TriggerSubTypeDetail object

ElementTypeDescription
subTypeTriggerSubType-

The TriggerWorkflowDetail object

ElementTypeDescription
workflowTitlestring-
isTaskTestboolean-

The TriggerManualDetail object

ElementTypeDescription
userIdstring-

The TriggerSubType object

The ErrorEnvelope object

ElementTypeDescription
errorError-

The Error object

ElementTypeDescription
messagestring-
codeinteger-
detailsErrorDetails-

The ErrorDetails object

ElementTypeDescription
errorCodestring-
errorRefstring-

Response body JSON models

{
"id": "string",
"workflow": "string",
"state": "CANCELLED",
"stateInfo": "string",
"input": {},
"providedInput": {},
"params": {},
"startedAt": "string",
"endedAt": "string",
"runtime": 1,
"trigger": "string",
"schedule": "string",
"eventTrigger": "string",
"user": "string",
"actor": "string",
"title": "string",
"result": {},
"triggerType": "Manual",
"workflowVersion": 1,
"workflowType": "STANDARD",
"triggerTypeDetail": {
"subType": "CUSTOM"
},
"parentExecution": "string",
"parentTaskName": "string",
"rootExecution": "string",
"rootWorkflow": "string",
"isDraft": true
}
{
"error": {
"message": "string",
"code": 1,
"details": {
"errorCode": "string",
"errorRef": "string"
}
}
}
Related tags
Platform APIDynatrace Platform