コンテンツにスキップ

モニター作成

POST
/dashboard/monitors
object
type
required
string
Allowed values: http tcp ping heartbeat webchange ssl domain
name

Display name shown in notifications and status pages. Auto-generated from config if omitted.

string
<= 100 characters
config
required

Type-specific config. Examples:

  • http: { url, method, expectedStatus, timeoutMs, headers?, keyword?, keywordMustExist? }
  • heartbeat: { graceSeconds }
  • webchange: { url, selector?, checkType, changeMode? }
    • checkType: “text” (content hash, selector required), “screenshot” (visual comparison, paid plan only), “both” (combined, paid plan only)
    • selector is required when checkType is “text” or “both”
    • “screenshot” and “both” require paid plan and minimum 1800s interval
    • changeMode: “tamper” (detect changes and stay down until baseline reset, default) or “track” (record changes and stay up)
  • ssl: { hostname, warnDays }
  • domain: { domain, warnDays }
  • tcp: { hostname, port, timeoutMs }
  • ping: { hostname, port, timeoutMs }
object
intervalSeconds
integer
default: 300 >= 60 <= 86400

モニター作成成功

object
monitor
object
id
string
teamId
string
type
string
Allowed values: http tcp ping heartbeat webchange ssl domain
name
string
config

Type-specific configuration

object
intervalSeconds
integer
>= 60 <= 86400
status
string
Allowed values: up down degraded unknown paused
isActive
integer
Allowed values: 0 1
lastCheckedAt
string format: date-time
nullable
maintenanceUntil

ISO 8601 timestamp until which the monitor is under maintenance. Null when not in maintenance.

string format: date-time
nullable
autoResolveMaintenance

Whether maintenance auto-resolves (1) or requires manual resolution (0).

integer
Allowed values: 0 1
createdAt
string format: date-time
updatedAt
string format: date-time

バリデーションエラー / 無効なconfig

プラン上限到達