Get the Task Operation History
Use this API to retrieve a paginated list of operation history records for a specified task.
Request URL: /openapi/v1/workflow/log
HTTP method: GET
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| workflowId | String | Yes | Task ID. | "st-d5e200daj7wk" |
| current | Integer | No | Page number, starting from 1. Default: 1. | 1 |
| pageSize | Integer | No | Number of items per page. Default: 10. | 10 |
Response parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| success | Boolean | Whether the request was successful. | true |
| requestId | String | Request ID. | Lu5t1VBS-cihcmCEndbey3REdcgq7SWX |
| data | Array | List of operation details. | N/A |
| createTime | String | Operation time. | 2025-10-23 06:54:51Z |
| operator | String | ID of the operator. | 1030799091781335 |
| operateType | String | Operation type. | Auto Approved |
| operateDetail | String | Operation details. | According to the policy, no approval required. |
| errorCode | String | Error code. | N/A |
| message | String | Error message. | N/A |
| current | Integer | Current page number. | 1 |
| pageSize | Integer | Number of items per page. | 10 |
| total | Integer | Total number of records. | 1 |
Successful response example
{
"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
}