---
title: "Worker node heartbeat"
method: POST
path: "/v1/nodes/heartbeat"
tags: ["Infrastructure"]
---

# Worker node heartbeat

`POST /v1/nodes/heartbeat`

## Request

- Base URL: `https://api.algenta.ai`
- URL: `https://api.algenta.ai/v1/nodes/heartbeat`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Update node status and metrics. Call every 30s from worker nodes.

## Request body

- NodeHeartbeatRequest
  - `node_id` string, required
  - `cpu_pct` number, nullable
  - `memory_gb` number, nullable
  - `jobs_per_sec` number, nullable
  - `status` string

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/codna/apis/algenta-api.md) · [All operations](https://skmtc.dev/codna/apis/algenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/codna/apis/algenta-api/revisions/35d30f84a5df?raw)
