Configure app health checks
health_setUpdate one app's registry health check in a single transaction, including probe path, status range, timeout, interval, or expected body, while preserving access, tags, routes, and enrollment.
Instructions
Change only one app's health check in a single registry transaction. Keeps access lists, tags, people scope, portal routes and the enrolled node; never re-enrolls. Omitted fields keep their stored value; empty or 0 selects the default; reset returns to defaults (GET / accepting 200-399). path, status range and body_contains apply to proxy apps only. HTTP MCP requires the current portal owner for a routed app, checked in the write transaction. Owner scope only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| path | No | HTTP probe path joined to the backend base path; empty means /. | |
| reset | No | Discard stored settings before applying the other fields. | |
| timeout | No | 100ms..30s; empty means 5s. | |
| interval | No | 10s..1d and at least timeout; empty means 1m. | |
| status_max | No | Highest accepted status; 0 means the default (399 when status_min is also unset, otherwise 299). | |
| status_min | No | Lowest accepted status; 0 means the default. | |
| body_contains | No | Expected substring in the first 64 KiB; empty removes the check. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| type | Yes | ||
| health | Yes | ||
| changed | Yes | ||
| defaults | Yes |