定时任务查看报告; 相关参数说明可通过自动化参数说明获取。
POST /api/v1/automation/taskLogList
| 参数 | 类型 | 必需 | 说明 |
|---|---|---|---|
| task_id | string | 是 | 任务ID,可通过定时任务列表获取 |
| cursor_id | string | 否 | 游标ID,用于分页定位,取当前返回结果中最后一条日志的 ID;若返回为空,表示已无可获取的日志数据 |
{
"task_id": "xxx",
"cursor_id":"xxx",
}
{
"code": 200,
"data": {
"list": [
{
"id": "xxx",
"result_info": {
"action": "START",
"result": true,
"error_message": "",
"error_img": "",
"condition_result_message": "",
"extra_data": {
"screenshot": "",
"data": [],
"email": {
"subject": "",
"sender": "",
"receive_time": "",
"content": ""
}
}
},
"start_at": "2026-01-15 05:43:16 912",
"finish_at": "2026-01-15 05:43:16 912",
"created_at": "2026-01-15 19:43:20"
},
{
"id": "xxx",
"result_info": {
"action": "DESKTOP",
"result": true,
"error_message": "",
"error_img": "",
"condition_result_message": "",
"extra_data": {
"screenshot": "",
"data": [],
"email": {
"subject": "",
"sender": "",
"receive_time": "",
"content": ""
}
}
},
"start_at": "2026-01-15 05:43:20 827",
"finish_at": "2026-01-15 05:43:20 832",
"created_at": "2026-01-15 19:43:22"
},
{
"id": "xxx",
"result_info": {
"action": "OPEN_APP",
"result": true,
"error_message": "",
"error_img": "",
"condition_result_message": "",
"extra_data": {
"screenshot": "",
"data": {
"action": "OPEN_APP",
"package_name": "xxx",
"uri": "",
"desc": "",
"exception_type": "2",
"id": "1762945520"
},
"email": {
"subject": "",
"sender": "",
"receive_time": "",
"content": ""
}
}
},
"start_at": "2026-01-15 05:43:30 672",
"finish_at": "2026-01-15 05:43:30 687",
"created_at": "2026-01-15 19:43:32"
},
{
"id": "tG2IN",
"result_info": {
"action": "CLICK_ELEMENT",
"result": false,
"error_message": "xxx",
"error_img": "xxx",
"condition_result_message": "",
"extra_data": {
"screenshot": "",
"data": {
"action": "CLICK_ELEMENT",
"save_result": "",
"desc": "",
"element_type": "element_selector",
"use_offset": false,
"exception_type": "2",
"selector_bean_list": [
{
"class": "android.widget.TextView"
},
{
"text": "Home"
}
],
"selector_condition": "contain",
"waiting_time": "3000",
"type": "fixed_value",
"fixed_value": "1",
"operator": "",
"number": "",
"id": "xxx"
},
"email": {
"subject": "",
"sender": "",
"receive_time": "",
"content": ""
}
}
},
"start_at": "2026-01-15 05:43:32 642",
"finish_at": "2026-01-15 05:43:36 011",
"created_at": "2026-01-15 19:43:37"
}
]
},
"message": "Success"
}