获取任务操作历史
分页查询指定任务的操作历史记录。
请求地址:/openapi/v1/workflow/log
请求方法:GET
请求参数
| 参数 | 类型 | 是否必选 | 说明 | 示例 |
|---|---|---|---|---|
| workflowId | String | 是 | 任务 ID。 | "st-d5e200daj7wk" |
| current | Integer | 否 | 当前页码,从 1 开始,默认 1。 | 1 |
| pageSize | Integer | 否 | 每页大小,默认 10。 | 10 |
返回参数
| 参数 | 类型 | 说明 | 示例 |
|---|---|---|---|
| success | Boolean | 请求是否成功。 | true |
| requestId | String | 请求 ID。 | Lu5t1VBS-cihcmCEndbey3REdcgq7SWX |
| data | Array | 操作详情列表。 | 无 |
| createTime | String | 操作时间。 | 2025-10-23 06:54:51Z |
| operator | String | 操作人 ID。 | 1030799091781335 |
| operateType | String | 操作类型。 | Auto Approved |
| operateDetail | String | 操作详情。 | According to the policy, no approval required. |
| errorCode | String | 错误码。 | 无 |
| message | String | 异常信息。 | 无 |
| current | Integer | 当前页码。 | 1 |
| pageSize | Integer | 每页大小。 | 10 |
| total | Integer | 总记录数。 | 1 |
调用成功示例
{
"success": true,
"requestId": "Qr0w7PGE-IONIlHRnJHLl2RIdIPb6KUN",
"data": [{
"creteTime": "2025-10-10 03:37:28Z",
"operator": "system",
"operateType": "Auto Approved",
"operateDetail": "According to the policy, no approval required."
},],
"current": 1,
"pageSize": 10,
"total": 1
}