(_query_params: Dict[str, Any], body: Dict[str, Any])
| 422 | ) |
| 423 | |
| 424 | |
| 425 | def _api_export(_query_params: Dict[str, Any], body: Dict[str, Any]) -> Dict[str, Any]: |
| 426 | return agents.export_data( |
| 427 | user_id=str(body.get("user_id") or "").strip(), |
| 428 | export_format=str(body.get("format") or "markdown").strip(), |
| 429 | ) |
| 430 | |
| 431 |