tencent cloud

ListDownstreamTaskInstances
Last updated:2025-11-13 20:54:31
ListDownstreamTaskInstances
Last updated: 2025-11-13 20:54:31

1. API Description

Domain name for API request: wedata.intl.tencentcloudapi.com.

This API is used to get the direct upstream of an instance.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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: ListDownstreamTaskInstances.
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.
ProjectId Yes String Project ID.
InstanceKey Yes String Instance unique id.
TimeZone No String Time zone timeZone, default UTC+8.
PageNumber No Integer Page number, int used in conjunction with pageSize and cannot be less than 1. default value: 1.
PageSize No Integer Specifies the number of items to display per page. default: 10. value range: 1-100.

3. Output Parameters

Parameter Name Type Description
Data TaskInstancePage Direct downstream instance list.
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.

4. Example

Example1 Retrieving the Direct Downstream of a Task

Input Example

POST / HTTP/1.1
Host: wedata.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ListDownstreamTaskInstances
<Common request parameters>

{
    "ProjectId": "1460947878944567296",
    "InstanceKey": "20250708114505208_2025-08-26 00:00:00",
    "PageSize": 1
}

Output Example

{
    "Response": {
        "Data": {
            "Items": [
                {
                    "CostTime": 0,
                    "CurRunDate": "2025-08-27 01:00:00",
                    "CycleType": "HOUR_CYCLE",
                    "EndTime": "2025-08-27 02:00:12",
                    "ExecutorGroupId": "20240222212719833743",
                    "ExecutorGroupName": "qfh_test",
                    "FolderId": "8a098d2e-3cff-11ef-8ec8-b8599f277de5",
                    "FolderName": "carlshi",
                    "InstanceKey": "20250708114842380_2025-08-27 01:00:00",
                    "InstanceState": "EXPIRED",
                    "InstanceType": 1,
                    "LastUpdateTime": "2025-08-27 02:00:15",
                    "OwnerUinList": [],
                    "ProjectId": "1460947878944567296",
                    "SchedulerTime": "2025-08-27 01:00:00",
                    "StartTime": null,
                    "TaskId": "20250708114842380",
                    "TaskName": "son_hour",
                    "TaskType": "Shell",
                    "TaskTypeId": 35,
                    "TotalRunNum": 0,
                    "Tries": 0,
                    "TryLimit": 5,
                    "WorkflowId": "b8f62e8b-5484-4810-aff7-3815e5abcb0c",
                    "WorkflowName": "zd10"
                }
            ],
            "PageNumber": 1,
            "PageSize": 1,
            "TotalCount": 24,
            "TotalPageNumber": 24
        },
        "RequestId": "be421bc2-c9cd-4abd-94ed-4069df5708f7"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

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.
InvalidParameter.ClientIpNotAuthorized Client ip is unauthorized.
InvalidParameterValue Parameter value error.
MissingParameter Parameter missing.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback