All Products
Search
Document Center

DataWorks:ListDIJobs

Last Updated:Jan 12, 2026

Queries a list of new-version synchronization tasks in Data Integration. A new-version synchronization task can be a real-time synchronization task used to synchronize full or incremental data in a database, a batch synchronization task used to synchronize full or incremental data in a database, or a real-time synchronization task used to synchronize incremental data in a single table.

Operation description

This API operation is available for all DataWorks editions.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
PageNumberlongNo

The page number. Pages start from page 1. Default value: 1.

1
PageSizelongNo

The number of entries per page. Default value: 10. Maximum value: 100.

10
NamestringNo

The name of the export task.

The name of each export task must be unique. You must make sure that the names of the export tasks in the current workspace are unique.

test_export_01
SourceDataSourceTypestringNo

The source type. Valid values: PolarDB, MySQL, Kafka, Loghub, Hologres, Oracle, OceanBase, MongoDB, RedShift, Hive, SqlServer, Doris, and ClickHouse. If you do not configure this parameter, the API operation queries synchronization tasks that use all types of sources.

MySQL
DestinationDataSourceTypestringNo

The destination type. Valid values: Hologres, OSS-HDFS, OSS, MaxCompute, Loghub, STARROCKS, Datahub, ANALYTICDB_FOR_MYSQL, Kafka, and Hive. If you do not configure this parameter, the API operation queries synchronization tasks that use all type of destinations.

Hologres
MigrationTypestringNo

The synchronization type. Valid values:

  • FullAndRealtimeIncremental: one-time full synchronization and real-time incremental synchronization
  • RealtimeIncremental: real-time incremental synchronization
  • Full: full synchronization
  • OfflineIncremental: batch incremental synchronization
  • FullAndOfflineIncremental: one-time full synchronization and batch incremental synchronization
FullAndRealtimeIncremental
ProjectIdlongYes

The DataWorks workspace ID.

1967
SpecTypestringNo

The task configuration specification type. Valid values: FILESPEC, CLASSIC, ALL. FILESPEC: New-style task based on structured filespec; CLASSIC: Task using traditional configuration mode.

FILESPEC

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

7263E4AC-9D2E-5B29-B8AF-7C5012E92A41
PagingInfoobject

The pagination information.

TotalCountlong

The total number of entries returned.

12
PageSizelong

The number of entries per page.

10
PageNumberlong

The page number.

1
DIJobsarray<object>

The synchronization tasks returned.

DIJobsobject

The synchronization task.

Idlong

The ID of the synchronization task.

32599
ProjectIdlong

The ID of the DataWorks workspace to which the synchronization task belongs.

26442
JobNamestring

The name of the synchronization task.

mysql_to_holo_sync_35197
MigrationTypestring

The synchronization type. Valid values:

  • FullAndRealtimeIncremental: one-time full synchronization and real-time incremental synchronization
  • RealtimeIncremental: real-time incremental synchronization
  • Full: full synchronization
  • OfflineIncremental: batch incremental synchronization
  • FullAndOfflineIncremental: one-time full synchronization and batch incremental synchronization
FullAndRealtimeIncremental
SourceDataSourceTypestring

The source type. Valid values: PolarDB, MySQL, Kafka, Loghub, Hologres, Oracle, OceanBase, MongoDB, RedShift, Hive, SqlServer, Doris, and ClickHouse. If you do not configure this parameter, the API operation returns synchronization tasks that use all types of sources.

Mysql
DestinationDataSourceTypestring

The destination type. Valid values: Hologres, OSS-HDFS, OSS, MaxCompute, Loghub, STARROCKS, DataHub, ANALYTICDB_FOR_MYSQL, Kafka, and Hive.

Hologres
JobStatusstring

The status of the synchronization task. Valid values:

  • Finished
  • Initialized
  • Stopped
  • Failed
  • Running
  • Stopping
Running
DIJobIddeprecatedlong

This parameter is deprecated. Use the Id parameter instead.

32599

Examples

Sample success responses

JSONformat

{
  "RequestId": "7263E4AC-9D2E-5B29-B8AF-7C5012E92A41",
  "PagingInfo": {
    "TotalCount": 12,
    "PageSize": 10,
    "PageNumber": 1,
    "DIJobs": [
      {
        "Id": 32599,
        "ProjectId": 26442,
        "JobName": "mysql_to_holo_sync_35197",
        "MigrationType": "FullAndRealtimeIncremental",
        "SourceDataSourceType": "Mysql",
        "DestinationDataSourceType": "Hologres",
        "JobStatus": "Running",
        "DIJobId": 32599
      }
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2026-01-07The request parameters of the API has changedView Change Details
2025-01-06The response structure of the API has changedView Change Details