Skip to main content

healthCheck

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

Performs a health check on the thread service.

Verifies that the thread service is operational and responding to requests. Use this for service monitoring or to check availability before performing other thread operations.

Parameters​

No parameters.

Returns​

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

Example​

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

const client = new CodeBoltClient();

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