Create a memory export with the provided schema. Args: schema: JSON schema defining the export structure **kwargs: Optional filters like user_id, run_id, etc. Returns: Dict containing export request ID and status message
(self, schema: str, **kwargs)
| 904 | |
| 905 | @api_error_handler |
| 906 | async def create_memory_export(self, schema: str, **kwargs) -> Dict[str, Any]: |
| 907 | """Create a memory export with the provided schema. |
| 908 | |
| 909 | Args: |
| 910 | schema: JSON schema defining the export structure |
| 911 | **kwargs: Optional filters like user_id, run_id, etc. |
| 912 | |
| 913 | Returns: |
| 914 | Dict containing export request ID and status message |
| 915 | """ |
| 916 | response = await self.async_client.post("/v1/exports/", json={"schema": schema, **self._prepare_params(kwargs)}) |
| 917 | response.raise_for_status() |
| 918 | capture_client_event( |
| 919 | "async_client.create_memory_export", self.sync_client, {"schema": schema, "keys": list(kwargs.keys())} |
| 920 | ) |
| 921 | return response.json() |
| 922 | |
| 923 | @api_error_handler |
| 924 | async def get_memory_export(self, **kwargs) -> Dict[str, Any]: |
nothing calls this directly
no test coverage detected