Update a monitor.
At least one field must be non-null to apply an update.
Request to update a monitor's configuration.
Updated search query for the monitor. Use this for minor updates to prompts and instructions only. Major changes to the query may lead to unexpected results in change detection, as the monitor compares new results with what was previously seen.
"Extract recent news about AI"
Updated cadence of the monitor.
daily, weekly, hourly, every_two_weeks "daily"
Updated webhook configuration.
Updated user-provided metadata. This field is returned in webhook notifications, enabling you to map responses to corresponding objects in your application.
{
"slack_thread_id": "1234567890.123456",
"user_id": "U123ABC"
}Successful Response
Response object for a monitor, including its status, cadence and metadata.
ID of the monitor.
The query being monitored.
"Recent news about LLM models."
Status of the monitor.
active, canceled "active"
"canceled"
Cadence of the monitor.
daily, weekly, hourly, every_two_weeks "daily"
"weekly"
"hourly"
"every_two_weeks"
Timestamp of the creation of the monitor.
"2025-01-15T10:30:00Z"
User-provided metadata stored with the monitor.
{ "key": "value" }Webhook configuration for the monitor.
Timestamp of the last run for the monitor.
"2025-01-15T10:30:00Z"