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)
| 424 | |
| 425 | @api_error_handler |
| 426 | def create_memory_export(self, schema: str, **kwargs) -> Dict[str, Any]: |
| 427 | """Create a memory export with the provided schema. |
| 428 | |
| 429 | Args: |
| 430 | schema: JSON schema defining the export structure |
| 431 | **kwargs: Optional filters like user_id, run_id, etc. |
| 432 | |
| 433 | Returns: |
| 434 | Dict containing export request ID and status message |
| 435 | """ |
| 436 | response = self.client.post("/v1/exports/", json={"schema": schema, **self._prepare_params(kwargs)}) |
| 437 | response.raise_for_status() |
| 438 | capture_client_event("client.create_memory_export", self, {"schema": schema, "keys": list(kwargs.keys())}) |
| 439 | return response.json() |
| 440 | |
| 441 | @api_error_handler |
| 442 | def get_memory_export(self, **kwargs) -> Dict[str, Any]: |
nothing calls this directly
no test coverage detected