Javascript
import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ serverURL: "https://api.example.com", }); async function run() { const result = await avaCloudSDK.metrics.healthCheck(); console.log(result); } run();
{ "status": "error", "info": { "database": { "status": "up" } }, "error": {}, "details": { "database": { "status": "up" } } }
Check the health of the service.
The health of the service
The response is of type object.
object
Was this page helpful?