メインコンテンツへスキップ
POST

承認

Authorization
string
header
必須

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

ボディ

application/json
name
string
必須
Maximum string length: 256
schedule
object
必須

モニターチェックのスケジュール。cron または text のいずれかを指定してください。

targets
(Scrape target · object | Crawl target · object | Search target · object)[]
必須
Required array length: 1 - 50 elements
goal
string | null

変更されたページが意味のあるものかどうかを判定するための自然言語のゴールです。これが指定され、judgeEnabled が省略されている場合は、judging が自動的に有効になります。いずれかのターゲットが search ターゲットである場合、judgeEnabledfalse でない限り必須です(空文字不可)。

Maximum string length: 2000
judgeEnabled
boolean

変更されたページを goal に照らして判定するかどうか。実行には空でない goal が必要です。

notification
object
retentionDays
integer
デフォルト:30
必須範囲: 1 <= x <= 365
webhook
object

モニター ページおよびチェック完了イベント用の webhook の送信先。

レスポンス

モニターを作成しました

data
object
success
boolean