tencent cloud

ListOpsTasks
Last updated:2025-11-13 20:54:30
ListOpsTasks
Last updated: 2025-11-13 20:54:30

1. API Description

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

This API is used to obtain the task list based on the project id.

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: ListOpsTasks.
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.
PageSize No String Pagination size.
PageNumber No String Page number
TaskTypeId No String Task type Id.
-20: common data sync.
- 25:ETLTaskType
- 26:ETLTaskType
- 30:python
- 31:pyspark
- 34:HiveSQLTaskType
- 35:shell
- 36:SparkSQLTaskType
- 21:JDBCSQLTaskType
- 32:DLCTaskType
- 33:ImpalaTaskType
- 40:CDWTaskType
- 41:kettle
- 46:DLCSparkTaskType
-47: TiOne machine learning.
- 48:TrinoTaskType
- 50:DLCPyspark39:spark
- 92:mr
-38: shell script.
-70: hivesql script.
-1000: common custom business.
WorkflowId No String Workflow ID.
WorkflowName No String Workflow name.
OwnerUin No String Owner id.
FolderId No String Folder ID
SourceServiceId No String Data source ID.
TargetServiceId No String Target data source id.
ExecutorGroupId No String Executor Group ID
CycleType No String Task Cycle Type:

* ONEOFF_CYCLE: One-time

* YEAR_CYCLE: Yearly

* MONTH_CYCLE: Monthly

* WEEK_CYCLE: Weekly

* DAY_CYCLE: Daily

* HOUR_CYCLE: Hourly

* MINUTE_CYCLE: Minute-level

* CRONTAB_CYCLE: Crontab expression-based
Status No String Task Status

-Y: Running

-F: Stopped

-O: Frozen

-T: Stopping

-INVALID: Invalid
TimeZone No String Time zone. defaults to UTC+8.

3. Output Parameters

Parameter Name Type Description
Data ListOpsTasksPage Task 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 Task List in the Operation Center

Input Example

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

{
    "ProjectId": "2428908825624145920"
}

Output Example

{
    "Response": {
        "Data": {
            "Items": [
                {
                    "CreateTime": "2025-04-28 15:17:35",
                    "CycleType": "MINUTE_CYCLE",
                    "ExecutorGroupId": "20231124174317834475",
                    "ExecutorGroupName": "u5e7fu5ddeu8c03u5ea6u8d44u6e90u7ec4-twrh68lc",
                    "FirstRunTime": "2025-04-28 00:00:00",
                    "FirstSubmitTime": "2025-04-28 15:20:16",
                    "FolderId": "db050617-2400-11f0-8c70-043f72d4907c",
                    "FolderName": "lina_test_0428",
                    "LastSchedulerCommitTime": "2025-04-28 15:20:16",
                    "LastUpdateTime": null,
                    "OwnerUin": "100028448903",
                    "ProjectId": "2428908825624145920",
                    "ProjectName": "project_wedata_1u62e8u6d4bu4e13u7528",
                    "ScheduleDesc": "u4ece2025u5e7404u670828u65e5 00:00:00u5f00u59cb,u6bcfu592900:00~23:59u5185uff0cu6bcfu95f4u96945u5206u949fu6267u884cu4e00u6b21(UTC+8)",
                    "Status": "Y",
                    "TaskId": "20250428151735671",
                    "TaskName": "lina_notebook_0428_1",
                    "TaskTypeDesc": "Notebooku63a2u7d22",
                    "TaskTypeId": 132,
                    "UpdateUserUin": "100029132669",
                    "WorkflowId": "e9685bc2-e122-4b2d-9b09-723962965b90",
                    "WorkflowName": "lina_gz_0428"
                }
            ],
            "PageNumber": 1,
            "PageSize": 10,
            "TotalCount": 891,
            "TotalPageNumber": 90
        },
        "RequestId": "8ff428af-77a3-4834-bbfd-73c3184d4888"
    }
}

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.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback