{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/better-stack/refs/heads/main/json-schema/better-stack-monitor-create-request-schema.json", "title": "MonitorCreateRequest", "description": "Request body for creating a new monitor.", "type": "object", "properties": { "url": { "type": "string", "format": "uri", "description": "The URL to monitor.", "example": "https://example.com" }, "pronounceable_name": { "type": "string", "description": "Human-readable name for the monitor.", "example": "Production API" }, "monitor_type": { "type": "string", "description": "Type of monitoring check.", "enum": [ "status", "expected_status_code", "keyword", "keyword_absence", "ping", "tcp" ], "example": "status" }, "check_frequency": { "type": "integer", "description": "Check interval in seconds.", "example": 180 }, "verify_ssl": { "type": "boolean", "description": "Whether to verify SSL certificate.", "example": true }, "email": { "type": "boolean", "description": "Alert via email.", "example": true }, "sms": { "type": "boolean", "description": "Alert via SMS.", "example": false }, "call": { "type": "boolean", "description": "Alert via phone call.", "example": false }, "push": { "type": "boolean", "description": "Alert via push notification.", "example": true }, "regions": { "type": "array", "items": { "type": "string" }, "description": "Regions to monitor from.", "example": [ "us", "eu" ] }, "policy_id": { "type": "string", "nullable": true, "description": "Escalation policy ID.", "example": "300010" } }, "required": [ "url" ] }