Health API
Monitor system health and configure heartbeat schedules.Health check
Response
health field reflects overall system status:
| Value | Condition |
|---|---|
healthy | CPU and memory usage both at or below 70% |
degraded | CPU or memory usage above 70% but at or below 85% |
unhealthy | CPU or memory usage above 85% |
Error response
When the system is unhealthy, the response body usesstatus: "error" rather than a top-level error field:
| Code | Description |
|---|---|
| 500 | System unhealthy. Response includes status, health, and timestamp fields. |
Get heartbeat settings
Response
Update heartbeat settings
Request body
| Field | Type | Required | Description |
|---|---|---|---|
frequency | string | No | Heartbeat interval (for example, 3h) |
enabled | boolean | No | Enable or disable heartbeats |