MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / get_memory_export

Method get_memory_export

methods/mem0/client/main.py:924–936  ·  view source on GitHub ↗

Get a memory export. Args: **kwargs: Filters like user_id to get specific export Returns: Dict containing the exported data

(self, **kwargs)

Source from the content-addressed store, hash-verified

922
923 @api_error_handler
924 async def get_memory_export(self, **kwargs) -> Dict[str, Any]:
925 """Get a memory export.
926
927 Args:
928 **kwargs: Filters like user_id to get specific export
929
930 Returns:
931 Dict containing the exported data
932 """
933 response = await self.async_client.post("/v1/exports/get/", json=self._prepare_params(kwargs))
934 response.raise_for_status()
935 capture_client_event("async_client.get_memory_export", self.sync_client, {"keys": list(kwargs.keys())})
936 return response.json()
937
938 @api_error_handler
939 async def get_project(self, fields: Optional[List[str]] = None) -> Dict[str, Any]:

Callers

nothing calls this directly

Calls 6

capture_client_eventFunction · 0.90
postMethod · 0.80
_prepare_paramsMethod · 0.80
listFunction · 0.50
keysMethod · 0.45
jsonMethod · 0.45

Tested by

no test coverage detected