Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The fields you send to create, estimate or update a monitor.

sources
object[]
required

What to watch, 1 to 10 sources.

Required array length: 1 - 10 elements
name
string

A name for the monitor. Defaults to the first source's label.

Maximum string length: 255
schedule
object

How often the monitor checks. Send every (with at and day where they apply), or a cron expression. Defaults to every day at 09:00 UTC. Your plan sets the shortest interval; see Get monitor limits.

alertOn
enum<string>

What counts as a change worth an alert.

  • new: new items. The default when any source is a template or preset.
  • changed: items whose fields changed.
  • removed: items that are gone.
  • page: page text changes. The default when every source is a list of URLs.
  • every: alert on every check, with its rows, whether or not anything changed.
Available options:
new,
changed,
removed,
page,
every
watchFields
string[]

Only compare these fields when looking for changed items, such as ["price", "rating"]. Empty compares every field that's stable from check to check.

Maximum array length: 20
rule
object | null

An optional filter on the items that changed. Send null to remove it.

goal
string | null

An optional goal in plain English, such as "Only tell me if the price drops below $20". When something changed, AI reads the changes and the monitor alerts only if they match the goal. Not used with alertOn: "every". Send null to remove it.

Maximum string length: 1000
notify
object

Where alerts go. Email to your account's address is on unless you turn it off. Add any of the other channels.

checkNow
boolean
default:true

Runs the first check straight away to record the starting point. Set to false to wait for the schedule.

Response

The monitor was created, and its first check is running unless you sent checkNow: false.

status
enum<string>
Available options:
success
monitor
object

A monitor, with its settings and its last result.

recipients
object[]

Each extra email address with its status.