---
title: "Monitor Schedule Preview Endpoint"
method: POST
path: "/v1/monitors/schedule-preview"
tags: ["watches"]
---

# Monitor Schedule Preview Endpoint

`POST /v1/monitors/schedule-preview`

## Request

- Base URL: `https://api.actionbox.cloud`
- URL: `https://api.actionbox.cloud/v1/monitors/schedule-preview`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `actionbox_session`

## Headers

- `x-user-id` string, nullable
- `authorization` string, nullable
- `X-Actionbox-Client` string, nullable

## Cookies

- `actionbox_session` string, nullable

## Request body

- WatchCreate
  - `source_id` string, nullable
  - `name` string, required
  - `schedule_type` 'interval' | 'cron', required
  - `interval_seconds` integer, nullable
  - `cron_expression` string, nullable
  - `timezone` string
  - `grace_seconds` integer
  - `max_runtime_seconds` integer, nullable
  - `priority` 'low' | 'normal' | 'high' | 'urgent'
  - `runbook_url` string, uri, nullable
  - `signal_method` 'any' | 'post'

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/actionbox/apis/actionbox-api.md) · [All operations](https://skmtc.dev/actionbox/apis/actionbox-api/llms.txt) · [OpenAPI document](https://skmtc.dev/actionbox/apis/actionbox-api/revisions/bfb9b622e725?raw)
