モニター作成
POST /api/v1/monitors
新しいモニターを作成する。write スコープが必要。 プラン上限 (モニター数・最小チェック間隔) を超える場合は 402 エラー。
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
通知やステータスページで表示される名前。省略時はconfigから自動生成されます。
モニタータイプごとの設定。 webchange の場合: { url, selector?, checkType, changeMode? }
- changeMode: “tamper” (変更検知後ダウン状態を維持、デフォルト) または “track” (変更を記録しアップ状態を維持)
object
割り当てるステータスページの ID。省略時はチームのデフォルトステータスページに割り当てられます。
Responses
Section titled “ Responses ”モニター作成成功 (host_agentタイプの場合は agentToken も返却される)
object
object
Type-specific configuration
object
ISO 8601 timestamp of the first successful “up” check. Null while the monitor is in the initial grace period (incidents suppressed).
ISO 8601 timestamp until which the monitor is under maintenance. Null when not in maintenance.
Whether maintenance auto-resolves (1) or requires manual resolution (0).
Host_agentタイプの場合のみ返却。メトリクス送信用トークン (64文字hex)。このトークンは一度しか返却されません。
Example
a1b2c3d4e5f6...バリデーションエラー
object
object
Example
VALIDATION_ERRORExample
Invalid request bodyExample
400URL to upgrade plan (only present for plan limit errors)
Example
https://app.manako.dev/billingプラン上限超過
object
object
Example
VALIDATION_ERRORExample
Invalid request bodyExample
400URL to upgrade plan (only present for plan limit errors)
Example
https://app.manako.dev/billing