Monitor
Cancel Monitor
Cancel a monitor.
Permanently stops the monitor from running. Cancellation is irreversible — create a new monitor to resume monitoring. Cancelling an already-cancelled monitor is a no-op.
post/v1/monitors/{monitor_id}/cancel
Path parameters
monitor_idstring required
Response
Monitor cancelled successfully.
Example response
{
"type": "event_stream",
"status": "active",
"frequency": "1h",
"processor": "lite",
"webhook": {
"url": "https://example.com/webhook"
},
"metadata": {
"slack_thread_id": "1234567890.123456",
"user_id": "U123ABC"
},
"created_at": "2025-01-15T10:30:00Z",
"last_run_at": "2025-01-15T10:30:00Z",
"settings": {
"query": "Extract recent news about AI",
"output_schema": {
"json_schema": {
"additionalProperties": false,
"properties": {
"gdp": {
"description": "GDP in USD for the year, formatted like '$3.1 trillion (2023)'",
"type": "string"
}
},
"required": [
"gdp"
],
"type": "object"
}
},
"advanced_settings": {
"source_policy": {
"include_domains": [
"wikipedia.org",
"usa.gov",
".edu"
],
"exclude_domains": [
"reddit.com",
"x.com",
".ai"
],
"after_date": "2024-01-01"
},
"location": "us"
}
},
"output": {
"latest_snapshot": {
"basis": [
{
"confidence": "low"
}
]
}
}
}