(query_params: Dict[str, Any], _body: Dict[str, Any])
| 206 | ) |
| 207 | |
| 208 | |
| 209 | def _api_reports(query_params: Dict[str, Any], _body: Dict[str, Any]) -> Dict[str, Any]: |
| 210 | return agents.list_reports( |
| 211 | user_id=str(query_params.get("user_id") or "").strip(), |
| 212 | query=str(query_params.get("q") or ""), |
| 213 | days=int(query_params.get("days") or 30), |
| 214 | limit=int(query_params.get("limit") or 80), |
| 215 | exact_date=str(query_params.get("date") or "").strip(), |
| 216 | ) |
| 217 | |
| 218 |