Get the Health Status

Both the BasicChatbotClient and SessionManagedChatbotClient interfaces provide the getHealthStatus() method to retrieve the bot’s health status.

1Status status = client.getHealthStatus();
2boolean isRuntimeUp = status.equals(StatusEnum.UP);