Domain name for API request: wedata.tencentcloudapi.com.
Paging Query Task Execution History
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: DescribeTaskRunHistory. |
Version | Yes | String | Common Params. The value used for this API: 2021-08-20. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
ProjectId | Yes | String | Project ID |
SearchCondition | Yes | InstanceSearchCondition | Search Criteria |
PageSize | Yes | Integer | Page Size |
PageNumber | Yes | Integer | Page Number |
Parameter Name | Type | Description |
---|---|---|
Data | InstanceOpsInfoPage | Paginated Query Task Run History Results Note: This field may return null, indicating that no valid value can be obtained. |
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. |
Paging Query Task Execution History
POST / HTTP/1.1
Host: wedata.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeTaskRunHistory
<Common request parameters>
{
"ProjectId": "1531609696090365952",
"SearchCondition": {
"CycleList": [
"D"
],
"DateFrom": "2024-04-09 22:49:50",
"DateTo": "2024-04-12 10:35:30",
"Instance": {
"ExecutionSpace": "CYCLIC",
"ProductName": "DATA_DEV"
},
"Keyword": "20240306160150595",
"StateList": []
},
"PageSize": 10,
"PageNumber": 1
}
{
"Response": {
"Data": {
"Items": [
{
"AvgCostTime": 0,
"CostMillisecond": 0,
"CostTime": "00:00:00.000",
"CreateTime": "2024-04-10 00:00:17",
"CurRunDate": "2024-04-10 00:00:00",
"CycleType": "DAY_CYCLE",
"DependenceFulfillTime": "2024-04-10 23:35:46",
"DependencyRel": null,
"DoFlag": 0,
"EndTime": "2024-04-10 23:35:56",
"ErrorDesc": "Dependency check failed at 202403061595_2024-04-10 00:00:00 with reason: Can not find the correct state task 20240300150595",
"ExecutionSpace": "CYCLIC",
"ExecutorGroupId": null,
"ExecutorGroupName": null,
"FirstDependenceFulfillTime": "2024-04-10 00:01:06",
"FirstRunTime": null,
"FirstStartTime": null,
"FirstSubmitTime": null,
"FolderId": null,
"FolderName": null,
"IgnoreEvent": true,
"InCharge": "kaiqidong",
"InstanceKey": "20240306595_2024-04-10 00:00:00",
"InstanceLifeCycleOpsDto": null,
"LastLog": "Had been enforce kill",
"LastSchedulerDateTime": null,
"LastUpdate": "2024-04-10 23:41:15",
"MaxCostTime": 0,
"MinCostTime": 0,
"NextCurDate": "2024-04-11 00:00:00",
"OwnerId": "",
"ProductName": "DATA_DEV",
"ProjectId": "1531609960952",
"ProjectIdent": null,
"ProjectName": null,
"RedoFlag": 0,
"RelatedInstanceList": null,
"RelatedInstanceSize": 0,
"ResourceGroup": "202307220519606",
"ResourceInstanceId": "any",
"RetryAttempts": 0,
"RunPriority": 6,
"RuntimeBroker": null,
"SchedulerDateTime": "2024-04-10 00:00:00",
"SchedulerDesc": null,
"SonList": null,
"StartTime": null,
"State": "EXPIRED",
"TaskId": "2024030616015",
"TaskName": "testsasdfas",
"TaskType": {
"TypeDesc": "JDBC SQL",
"TypeId": 21,
"TypeSort": "Data Calculation"
},
"TenantId": "1315051789",
"TotalRunNum": 0,
"Tries": 0,
"TryLimit": 5,
"UserId": "",
"VirtualFlag": null,
"WorkflowId": "7e602618-56e1-11ee-8d13-a272",
"WorkflowName": "20230919_release_check",
"YarnQueue": null
}
],
"TotalCount": 1
},
"RequestId": "aeba8b49-202f-4252-a623-2402691f2c7b"
}
}
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 Failure. |
本页内容是否解决了您的问题?