Skip to main content

Compute SDK

Compute node heartbeat registration and health monitoring

Operations

Generated Reference

Overview

Compute node heartbeat registration and health monitoring

Available Operations

searchCompute

Search compute passports with ComputeMeta-specific filters including region, runtime, provider type, minimum VRAM, and GPU model. Returns paginated results with full passport details.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.LucidSearchComputeResponse>

Errors

heartbeat

Submit a heartbeat from a compute node to register or update its live state. Compute nodes must send heartbeats within the 30-second TTL to remain eligible for matching. Includes queue depth and P95 latency estimates.

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.LucidHeartbeatResponse>

Errors

getNodeHealth

Get the current health state of a compute node. Returns 503 if the node’s heartbeat has expired (>30s since last heartbeat).

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<operations.LucidGetHealthResponse>

Errors