Domain name for API request: wedata.intl.tencentcloudapi.com.
This API is used to query pagination information of tasks.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ListTasks. |
| Version | Yes | String | Common Params. The value used for this API: 2025-08-06. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-hongkong, ap-jakarta, ap-singapore, eu-frankfurt, na-ashburn, na-siliconvalley. |
| ProjectId | Yes | String | Project ID. |
| PageNumber | No | Integer | Specifies the data page number of the request. default value is 1. valid values: equal to or greater than 1. |
| PageSize | No | Integer | Specifies the number of data records displayed per page. default: 10. value range: 10 to 200. |
| TaskName | No | String | Task name. |
| WorkflowId | No | String | Workflow ID |
| OwnerUin | No | String | Owner ID. |
| TaskTypeId | No | Integer | Task type |
| Status | No | String | Task Status: * N: New * Y: Scheduling * F: Offline * O: Paused * T: Offlining * INVALID: Invalid |
| Submit | No | Boolean | Submission status. |
| BundleId | No | String | Bundle id. |
| CreateUserUin | No | String | Creator ID. |
| ModifyTime.N | No | Array of String | Modification time range (yyyy-MM-dd HH:mm:ss). Two time values must be provided in the array. |
| CreateTime.N | No | Array of String | Creation time range (yyyy-MM-dd HH:MM:ss). Two time values must be provided in the array. |
| Parameter Name | Type | Description |
|---|---|---|
| Data | ListTaskInfo | Describes the task pagination information. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to successfully query a task list.
POST / HTTP/1.1
Host: wedata.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ListTasks
<Common request parameters>
{
"ProjectId": "1470547050521227264"
}{
"Response": {
"Data": {
"Items": [
{
"CreateTime": "2025-07-02 11:06:30",
"CreateUserUin": "100042571125",
"LastOpsTime": null,
"LastOpsUserName": null,
"LastUpdateTime": "2025-07-22 11:06:39",
"LastUpdateUserName": null,
"OwnerUin": "100042571125",
"Status": "N",
"Submit": false,
"TaskDescription": "",
"TaskId": "20250701160626727",
"TaskLatestSubmitVersionNo": "",
"TaskLatestVersionNo": "V29",
"TaskName": "01sh_delete",
"TaskTypeId": 35,
"UpdateUserUin": "100028649379",
"WorkflowId": "a603bf20-6757-4401-85ee-3b1da69a4cbf",
"WorkflowName": "0001delete"
}
],
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 2574,
"TotalPageNumber": 258
},
"RequestId": "d9e46289-0d0e-4b11-94f0-b0b23e05ae3d"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation | Operation failed. |
| InvalidParameter | Parameter error. |
| InvalidParameterValue | Parameter value error. |
| MissingParameter | Parameter missing. |
Feedback