Skip to main content
Send a periodic heartbeat so the PIN controller knows the agent is healthy. The heartbeat updates the last-seen timestamp and GPU inventory. If the agent disappears beyond the heartbeat timeout, the controller reclaims and re-enqueues any assigned jobs.
Node-agent endpoints use an agent registration token bootstrapped during deployment. Pass it as Authorization: Bearer <agent-token>.

Endpoint

POST /v1/agent/heartbeat Authentication: Authorization: Bearer <agent-token>

Request body

string
required
Stable agent ID returned from registration.
array
Current GPU inventory snapshot.
string
Agent status, such as online.
string
Agent binary version.

Response

boolean
Whether the heartbeat was accepted.

Example