curl --location --request POST 'https://admin-api.wannanbigpig.com/admin/v1/task/trigger' \
--header 'Accept-Language: zh-CN' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"task_code": "audit.request_log.cleanup",
"queue": "default",
"payload": {
"days": 180
},
"confirm": "确认执行高风险任务",
"reason": "手动清理历史审计日志"
}'{
"code": 0,
"msg": "success",
"data": {
"run_id": 1,
"task_id": "manual:9f4d8bd1-3a53-49c5-b5dd-94a0f68f432d",
"queue": "default",
"type": "audit.request_log.cleanup"
},
"cost": "3.2ms",
"request_id": "req_20260423_0001"
}