Try it free

List trashed workflows

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

List trashed workflows in Dynatrace Automation API for the current user or all users with admin access, with paging and ordering.

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

Overview

You use this operation to list workflows that have been moved to trash. The adminAccess, limit, offset, and ordering query parameters control access and paging, and the response returns the matching trashed workflows.

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
limitinteger

Number of results to return per page.

queryOptional
offsetinteger

The initial index from which to return the results.

queryOptional
orderingstring

Which field to use when ordering the results.

queryOptional

Response

Response codes

CodeTypeDescription
200PaginatedTrashedWorkflowList-
4XXErrorEnvelope-

Response body objects

The PaginatedTrashedWorkflowList object

ElementTypeDescription
countinteger-
resultsTrashedWorkflow[]-

The TrashedWorkflow object

ElementTypeDescription
idstring-
titlestring-
deletionInfoobject-
purgeAtstring

When the workflow will be automatically and permanently deleted after the retention period.

isDeployedboolean-

The ErrorEnvelope object

ElementTypeDescription
errorError-

The Error object

ElementTypeDescription
messagestring-
codeinteger-
detailsErrorDetails-

The ErrorDetails object

ElementTypeDescription
errorCodestring-
errorRefstring-

Response body JSON models

{
"count": 123,
"results": [
{
"id": "string",
"title": "string",
"deletionInfo": {
"deletedBy": "string",
"deletedTime": "string"
},
"purgeAt": "string",
"isDeployed": true
}
]
}
{
"error": {
"message": "string",
"code": 1,
"details": {
"errorCode": "string",
"errorRef": "string"
}
}
}
Related tags
Platform APIDynatrace Platform