Skip to main content
The client.system namespace provides tools for monitoring the MemMachine server’s health and performance. These endpoints are primarily used for infrastructure orchestration (like Kubernetes liveness probes) and performance monitoring.

Health and Versioning

health

Performs a comprehensive health check of the MemMachine service and its connected dependencies (Vector Stores, Databases).
Returns:

version

Returns detailed versioning information for the server and the API specification it supports.

Observability

metrics

Exposes system-level performance metrics. By default, this returns metrics in the Prometheus text format, suitable for scraping by monitoring tools.
Common Metrics Tracked:
  • memmachine_request_duration_seconds: Latency of API calls.
  • memmachine_memory_ingestion_total: Count of memories added.
  • memmachine_vector_search_latency: Time taken for embedding and searching.

Environment Information

get_info

Retrieves non-sensitive environmental information about the server instance.

Utility Methods

ping

A lightweight, low-latency check to verify that the network path to the server is open.
If you are running MemMachine in a containerized environment (Docker/K8s), use the client.system.health() endpoint for your Liveness and Readiness probes.