Try it free

Get a scheduling rule

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Retrieve a scheduling rule in Dynatrace with the Automation API by UUID, returning the rule details for the specified id.

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

Overview

You provide the rule UUID in the id path parameter. Dynatrace returns the scheduling rule record for that identifier through the Automation API.

Authentication

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

Parameters

ParameterTypeDescriptionInRequired
idstring

A UUID string identifying this rule.

pathRequired

Response

Response codes

CodeTypeDescription
200Rule-
4XXErrorEnvelope-

Response body objects

The Rule object

ElementTypeDescription
idstring-
versioninteger-
titlestring-
ruleTypeRuleType-
The element can hold these values
  • rrule
  • grouping
  • fixed_offset
  • relative_offset
rruleRRule-
groupingRuleGroupingRule-
fixedOffsetRuleFixedOffsetRule-
relativeOffsetRuleRelativeOffsetRule-
businessCalendarstring-
descriptionstring-
modificationInfoModificationInfo-

The RuleType object

The RRule object

ElementTypeDescription
freqFreq-
The element can hold these values
  • YEARLY
  • MONTHLY
  • WEEKLY
  • DAILY
  • HOURLY
  • MINUTELY
  • SECONDLY
datestartstring

The recurrence start.

intervalinteger

The interval between each freq iteration.

wkstWkst

The week start day.

untilstring

Specifying the upper-bound limit of the recurrence.

bysetposinteger[]

Each given integer will specify an occurrence number, corresponding to the nth occurrence of the rule inside the frequency period

bymonthinteger[]

The months to apply the recurrence to.

bymonthdayinteger[]

The month days to apply the recurrence to.

byyeardayinteger[]

The year days to apply the recurrence to.

byweeknointeger[]

The week numbers to apply the recurrence to.

bydayByday[]

Define the weekdays where the recurrence will be applied.

byworkdayByworkday

The type of days on which the recurrence will be applied.

The Freq object

The Wkst object

The week start day.

The Byday object

The Byworkday object

The type of days on which the recurrence will be applied.

The GroupingRule object

ElementTypeDescription
combinestring[]-
intersectstring[]-
subtractstring[]-

The FixedOffsetRule object

ElementTypeDescription
rulestring-
offsetnumber

Offset days

The RelativeOffsetRule object

ElementTypeDescription
directionDirection-
The element can hold these values
  • next
  • previous
sourceRulestring-
targetRulestring-

The Direction object

The ModificationInfo object

ElementTypeDescription
createdBystring-
createdTimestring-
lastModifiedBystring-
lastModifiedTimestring-

The ErrorEnvelope object

ElementTypeDescription
errorError-

The Error object

ElementTypeDescription
messagestring-
codeinteger-
detailsErrorDetails-

The ErrorDetails object

ElementTypeDescription
errorCodestring-
errorRefstring-

Response body JSON models

{
"id": "string",
"version": 1,
"title": "string",
"ruleType": "rrule",
"rrule": {
"freq": "YEARLY",
"datestart": "string",
"interval": 1,
"wkst": "MO",
"until": "string",
"bysetpos": [
1
],
"bymonth": [
1
],
"bymonthday": [
1
],
"byyearday": [
1
],
"byweekno": [
1
],
"byday": [
"MO"
],
"byworkday": "WORKING"
},
"groupingRule": {
"combine": [
"string"
],
"intersect": [
"string"
],
"subtract": [
"string"
]
},
"fixedOffsetRule": {
"rule": "string",
"offset": 1
},
"relativeOffsetRule": {
"direction": "next",
"sourceRule": "string",
"targetRule": "string"
},
"businessCalendar": "string",
"description": "string",
"modificationInfo": {
"createdBy": "string",
"createdTime": "string",
"lastModifiedBy": "string",
"lastModifiedTime": "string"
}
}
{
"error": {
"message": "string",
"code": 1,
"details": {
"errorCode": "string",
"errorRef": "string"
}
}
}
Related tags
Platform APIDynatrace Platform