コンテンツにスキップ

モニター作成

POST
/dashboard/services/{id}/monitors

サービスに属するモニターを作成する。

id
required
string

サービス ID

object
type
required
string
Allowed values: http tcp ping
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? }
  • 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
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
initializedAt

ISO 8601 timestamp of the first successful “up” check. Null while the monitor is in the initial grace period (incidents suppressed).

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

プラン上限到達