Previews a schedule occurrence.
Calculates the next occurrence for the supplied cadence without changing the schedule.
<Check title="Required Permissions" icon="key">Any authenticated user.</Check>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
agentId
The agent id.
Request
The cadence preview request.
cronRule
The cron rule used for recurring execution.
recurrenceInterval
The number of matching cron occurrences between scheduled runs.
timezone
The IANA timezone used to evaluate the cron rule.
scheduleId
The optional existing schedule whose current cadence phase is used.
Response
OK
nextRunOn
The next selected occurrence in UTC.
isFirstRun
Whether the occurrence starts a new cadence phase.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
503
Service Unavailable Error

