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

62 lines (54 loc) 1.27 kB
export interface GetMetricsRequest { organization_apikey: string; app_apikey: string; tenant_apikey: string; } export interface Metrics { app_id: string; tenant_id?: string; analysis_count: number; log_count: number; last_updated: string; } export interface GetMetricsResponse { metrics: Metrics; } export interface GetAppMetadataRequest { organization_apikey: string; app_apikey: string; } export interface AppMetadata { id: number; app_id: string; tenant_count: number; total_log_count: number; total_analysis_count: number; last_log_at: string; first_log_at: string; last_analysis_at: string; created_at: string; updated_at: string; } export interface GetAppMetadataResponse { metadata: AppMetadata; } export interface GetTenantMetadataRequest { organization_apikey: string; app_apikey: string; tenant_apikey: string; } export interface TenantMetadata { id: number; app_id: string; tenant_id: string; log_count: number; last_log_at: string; first_log_at: string; analysis_count: number; last_analysis_at: string; created_at: string; updated_at: string; } export interface GetTenantMetadataResponse { metadata: TenantMetadata; }