Create an uptime check
Adds an uptime check to a service. The first request runs right away.
Needs services.alerts on the service (a grant on its project covers it). Available to MCP clients and the assistant.
seylo_session<token>application/json- body
serviceId*stringPanel-issued id.
^[a-z0-9]{16}$name*string1 <= length <= 60url*string^https?://[^\s]+$length <= 2048method?string|stringexpectedStatus?integer0 <= value <= 599intervalSeconds?integer30 <= value <= 86400timeoutMs?integer1000 <= value <= 60000failureThreshold?integer1 <= value <= 10keyword?|nullmaxLatencyMs?|nullenabled?booleanSuccess.
application/json- response
id*stringPanel-issued id.
^[a-z0-9]{16}$serviceId*stringPanel-issued id.
^[a-z0-9]{16}$projectId*stringPanel-issued id.
^[a-z0-9]{16}$name*string1 <= length <= 60url*string^https?://[^\s]+$length <= 2048method*string|stringexpectedStatus*integer0 <= value <= 599intervalSeconds*integer30 <= value <= 86400timeoutMs*integer1000 <= value <= 60000failureThreshold*integer1 <= value <= 10keyword*|nullmaxLatencyMs*|nullenabled*booleanstatus*string|string|string|stringstatusSince*|nulllastCheckedAt*|nulllastStatusCode*integer|nulllastLatencyMs*|nulllastError*string|nulluptime24h*|nullcreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X POST 'https://example.com/api/v1/uptime.create' \ -H 'Content-Type: application/json' \ -d '{ "serviceId": "string", "name": "string", "url": "string"}'{ "id": "string", "serviceId": "string", "projectId": "string", "name": "string", "url": "string", "method": "GET", "expectedStatus": 0, "intervalSeconds": 30, "timeoutMs": 1000, "failureThreshold": 1, "keyword": "string", "maxLatencyMs": 1, "enabled": true, "status": "up", "statusSince": "2019-08-24T14:15:22Z", "lastCheckedAt": "2019-08-24T14:15:22Z", "lastStatusCode": 0, "lastLatencyMs": 0, "lastError": "string", "uptime24h": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Update the panel POST
Starts an update run to the newest release: the panel first (a few seconds of an updating page, apps keep running), then, unless panelOnly is set, every node one at a time. Fails with CONFLICT while another run is active. Needs `updates.manage`, which owners and admins hold. Available to MCP clients and the assistant.
Delete an uptime check POST
Deletes an uptime check and its history. Needs `services.alerts` on the service (a grant on its project covers it). Available to MCP clients and the assistant, after a person approves the call.