Get a memory export. Args: **kwargs: Filters like user_id to get specific export Returns: Dict containing the exported data
(self, **kwargs)
| 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]: |
nothing calls this directly
no test coverage detected