Skip to main content
Reports liveness and current resource capacity for a node.
cara-agent calls this endpoint on a configurable interval (default: every 30 seconds). You only need to call it directly if you are building a custom agent. The server merges the fields you send into the existing node status — any field you omit is left unchanged.

Path parameters

string
required
The unique name of the node sending the heartbeat.

Request body

The request body is optional. Sending an empty body (or omitting Content-Length) performs a pure timestamp update — status.lastHeartbeat is set to the current time and no other fields change.
string
Updated health state. One of Ready, NotReady, or Draining. Omit to leave the current state unchanged.
object
Overlay-network status. Omit to leave the current network fields unchanged.
object
Raw physical resource totals of the machine. Values use the same quantity format as Kubernetes: "4000m", "8Gi". Omit to leave unchanged.Example: {"cpu": "4000m", "memory": "8Gi"}
object
Capacity minus system-reserved amounts. The scheduler subtracts running-project usage from this figure to compute available headroom. Omit to leave unchanged.Example: {"cpu": "3800m", "memory": "7Gi"}

Response

Returns 204 No Content on success. Returns 404 Not Found if the node does not exist.

Example