Developers /Monitoring API

Preview a schedule

Check a schedule against the plan and list its next times.

POST/crawl/v1/monitors/schedule/preview
POST example
curl --request POST \
  --url 'https://factget.dev/crawl/v1/monitors/schedule/preview' \
  --header "Authorization: Bearer $FACTGET_CRAWL_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "schedule": {
    "cron": "0 9 * * *",
    "timezone": "UTC"
  }
}'

Replace IDs and sample values with your own. Examples are not executed in your browser.

Authorization

Authorizationstring · header · required

Bearer Crawl API key with the required scope. Learn about authentication →

Request body

application/json
scheduleobjectrequired

``cron`` read in ``timezone`` (IANA); runs land within ``windowMinutes`` of each nominal time (0 = exactly on time, a plan feature).

Show nested properties
cronstringrequired

Cron schedule, interpreted in the supplied timezone. Example: 0 9 * * * for daily at 09:00.

minLength: 1maxLength: 120
timezonestring
Default: "UTC"minLength: 1maxLength: 64
windowMinutesinteger
Default: 15

Responses

200Successful Response
application/json

The published schema does not define individual response fields for this endpoint. Inspect the returned JSON in your integration.

422Validation Error
application/json
detailobject[]
Show item properties
locstring | integer[]required
msgstringrequired
typestringrequired
inputobject
ctxobject

The API schema lists the responses above. Long-running operations can also return 202; see async jobs. For application errors, see errors & retries.