Skip to main content
PATCH
更新监控

授权

Authorization
string
header
必填

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

路径参数

monitorId
string<uuid>
必填

监控 ID

请求体

application/json

部分监控更新 payload。请至少包含一个字段。

goal
string | null

用于判定页面变更是否有实际意义的自然语言目标。若提供此字段且省略 judgeEnabled,则会自动启用判定。当任一目标为 search 目标时,除非 judgeEnabledfalse,否则此字段必填且不得为空。

Maximum string length: 2000
judgeEnabled
boolean

是否根据 goal 判断已变更页面。运行时需要提供非空的 goal

name
string
Maximum string length: 256
notification
object
retentionDays
integer
必填范围: 1 <= x <= 365
schedule
object

监控检查的调度计划。请提供 crontext 其中之一。

status
enum<string>
可用选项:
active,
paused
targets
(Scrape target · object | Crawl target · object | Search target · object)[]
Required array length: 1 - 50 elements
webhook
object

用于接收监控页面事件和检查完成事件的 Webhook 目标地址。

响应

监控已更新

data
object
success
boolean