Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
import { client } from '../client';
async function healthCheck() {
const opensearchClient = client();
console.log('Performing health check...');
try {
const clusterInfo = await opensearchClient.info();
console.log('Cluster Info:', clusterInfo.body);
const healthData = await opensearchClient.cluster.health();
console.log('Cluster Health:', healthData.body);
const indices = await opensearchClient.cat.indices({
format: 'json',
});
console.log('Indices:', indices.body);
} catch (error) {
console.error('Error', error);
}
}
healthCheck();