Preview a schedule Reference Published Oct 13, 2026 Deprecated Preview a schedule in Dynatrace Automation API by submitting a schedule body and see the resulting schedule output before you create it.
POST SaaS https://{your-environment-id}.apps.dynatrace.com/platform/automation/v1/schedules/preview
Overview You send the schedule field in the request body to define the schedule to preview. The response returns the preview result for that schedule.
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 Request body objects The SchedulePreviewRequest object The ScheduleRequest object
The ScheduleTrigger object The CronTrigger object type Cron Trigger Type -The element can hold these values Required cron string - Required
The TimeTrigger object type Time Trigger Type -The element can hold these values Required time string - Required
The IntervalTrigger object type Interval Trigger Type -The element can hold these values Required intervalMinutes integer - Required betweenStart string - Optional betweenEnd string - Optional
The OnceTrigger object type Once Trigger Type -The element can hold these values Required at string Datetime in ISO 8601 format without timezone information.
Required
The CronTriggerType object
The TimeTriggerType object
The IntervalTriggerType object
The OnceTriggerType object The ScheduleFilterParameters object count integer - Optional earliestStart string - Optional earliestStartTime string - Optional until string - Optional includeDates string[] - Optional excludeDates string[] - Optional
The Timezone object Request body JSON model This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{
"schedule" : {
"trigger" : {
"type" : "cron" ,
"cron" : "0 0 * * *"
} ,
"rule" : "string" ,
"filterParameters" : {
"count" : 10 ,
"earliestStart" : "string" ,
"earliestStartTime" : "00:00" ,
"until" : "string" ,
"includeDates" : [
"string"
] ,
"excludeDates" : [
"string"
]
} ,
"timezone" : "Africa/Abidjan" ,
"isActive" : true
}
}
Response Response body objects The SchedulePreviewResponse object nextExecutions string[] - valid boolean - error string -
The ErrorDetails object errorCode string - errorRef string -
Response body JSON models {
"nextExecutions" : [
"string"
] ,
"valid" : true ,
"error" : "string"
}
{
"error" : {
"message" : "string" ,
"code" : 1 ,
"details" : {
"errorCode" : "string" ,
"errorRef" : "string"
}
}
}