Try it free

Get an action sample result

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026
  • Deprecated

Retrieve a sample result for an action in Dynatrace with the Automation API by action identifier, helping you inspect expected output.

GETSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/automation/v1/actions-sample-result/{actionIdentifier}

Overview

You provide the actionIdentifier path parameter to select the action sample result. Dynatrace returns the sample result for that action 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
actionIdentifierstring-pathRequired

Response

Response codes

CodeTypeDescription
200--
4XXErrorEnvelope-

Response body objects

The ResponseBody object

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