モニター作成
POST /dashboard/services/{id}/monitors
POST
/dashboard/services/{id}/monitors
サービスに属するモニターを作成する。
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
サービス ID
Request Body required
Section titled “Request Body required ”object
type
required
string
name
Display name shown in notifications and status pages. Auto-generated from config if omitted.
string
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
Responses
Section titled “ Responses ”モニター作成成功
object
monitor
object
id
string
teamId
string
type
string
name
string
config
Type-specific configuration
object
intervalSeconds
integer
status
string
isActive
integer
lastCheckedAt
string format: date-time
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
maintenanceUntil
ISO 8601 timestamp until which the monitor is under maintenance. Null when not in maintenance.
string format: date-time
autoResolveMaintenance
Whether maintenance auto-resolves (1) or requires manual resolution (0).
integer
createdAt
string format: date-time
updatedAt
string format: date-time
バリデーションエラー / 無効なconfig
プラン上限到達