UNPKG

sjursen-digital-watchtower

Version:

A TypeScript Node.js SDK for Watchtower, an Intelligence as a Service (IaaS) platform that uses Google's Gemini AI model to transform traditional logging into an active intelligence system with predictive analytics and automated decision-making capabiliti

16 lines (14 loc) 409 B
import { BaseEndpoint } from '../base'; import { HealthResponse } from './types'; export class HealthEndpoint extends BaseEndpoint { constructor(client: any) { super(client, '/health'); } /** * Check the health status of the API * @returns Promise with the health status response */ async check(): Promise<HealthResponse> { return this.get<HealthResponse>(''); } }