Skip to main content

healthCheck

client.swarm.healthCheck(): Promise<object>

Health check for swarm service.

Returns service status, useful for monitoring and health dashboards.

Parameters

No parameters.

Returns

Promise<object> — A promise that resolves to service status

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.swarm.healthCheck();
console.log(result);