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

Method get_webhooks

methods/mem0/client/main.py:983–989  ·  view source on GitHub ↗
(self, project_id: str)

Source from the content-addressed store, hash-verified

981
982 @api_error_handler
983 async def get_webhooks(self, project_id: str) -> Dict[str, Any]:
984 response = await self.async_client.get(
985 f"api/v1/webhooks/projects/{project_id}/",
986 )
987 response.raise_for_status()
988 capture_client_event("async_client.get_webhook", self.sync_client)
989 return response.json()
990
991 @api_error_handler
992 async def create_webhook(self, url: str, name: str, project_id: str, event_types: List[str]) -> Dict[str, Any]:

Callers

nothing calls this directly

Calls 3

capture_client_eventFunction · 0.90
getMethod · 0.45
jsonMethod · 0.45

Tested by

no test coverage detected