@memnexus-ai/typescript-sdk 1.47.3 → 1.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -3710,6 +3710,26 @@ var EntitiesService = class extends BaseService {
3710
3710
  }
3711
3711
  return this.client.call(request);
3712
3712
  }
3713
+ /**
3714
+ * Get graph health metrics
3715
+ * Returns knowledge graph health metrics including entity counts, fact counts, topic counts, and extraction coverage
3716
+ */
3717
+ async getGraphHealth() {
3718
+ const request = new Request({
3719
+ baseUrl: this.config.baseUrl || "http://localhost:3000",
3720
+ method: "GET",
3721
+ path: "/api/entities/health",
3722
+ config: this.config,
3723
+ retry: {
3724
+ attempts: 3,
3725
+ delayMs: 150,
3726
+ maxDelayMs: 5e3,
3727
+ jitterMs: 50,
3728
+ backoffFactor: 2
3729
+ }
3730
+ });
3731
+ return this.client.call(request);
3732
+ }
3713
3733
  };
3714
3734
 
3715
3735
  // src/services/conversations-service.ts