Skip to main content

healthCheck

plugin.tasksApi.healthCheck(): Promise<object>

Performs a health check on the task service.

Verifies that the task management service is operational and responding. Use this to monitor service availability or for health monitoring in production environments.

Parameters

No parameters.

Returns

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

Example

import plugin from '@codebolt/plugin-sdk';

const result = await plugin.tasksApi.healthCheck();
console.log(result);