What this spec would do, without doing it. Authors get cron wrong constantly and a
preview is cheaper than a support conversation (§2.7).
Field Type Notes kindcron | interval | one_shot | eventrequired — cron_expressionsstring[] optional — timezonestring optional Default "UTC". max length 60 interval_secondsinteger | null optional min 60 fire_atstring (date-time) | null optional — event_kindstring | null optional max length 60 countinteger optional Default 5. min 1 max 50
Status Description Body 200Successful Response SchedulePreview422Validation Error HTTPValidationError
Only the success paths are declared
Any operation may also answer any status in the error catalogue , and
every failure body is the platform envelope — including the 422 this document types
as HTTPValidationError.
The body shows the fields the schema always carries. Which combination is legal is a service rule the schema cannot express, so read the description above before copying this.
curl -X POST https://your-deployment.example.com/schedules/preview \
-H " Authorization: Bearer $COBRE_TOKEN " \
-H " Content-Type: application/json " \
Field Type Notes timezonestring required — firesPreviewFireView[]required — warningsstring[] required —