Skip to main content

Query Replication Task List

Paginated query of NineData replication tasks, supporting filtering by status, data source, task type, and other conditions.

Request URL: /openapi/v1/replication/list

Request Method: GET

Request Parameters

ParameterTypeRequiredDescriptionExample
replicationIdStringNoReplication task ID.rep-123456
statusStringNoTask status, optional values:
  • createSuccess: Created successfully.
  • preChecking: Pre-checking in progress.
  • preCheckSuccess: Pre-check successful.
  • preCheckFailed: Pre-check failed.
  • notStarted: Pending start.
  • starting: Starting.
  • running: Running.
  • success: Completed.
  • failed: Failed.
  • suspended: Suspended.
  • abnormal: Abnormal.
  • stopped: Stopped.
  • locked: Locked.
running
sourceDatasourceIdStringNoSource data source ID.ds-source01
targetDatasourceIdStringNoTarget data source ID.ds-target01
datasourceIdStringNoSource or target data source ID.ds-common01
typeStringNoTask type, optional values:
  • default: One-way replication task.
  • forward: Forward task of two-way replication task.
  • backward: Backward task of two-way replication task.
default
multiActiveIdStringNoGroup ID of two-way tasks, the field value is equal for forward and backward tasks, can be used with type=backward to query backward tasks.multi-001
keywordStringNoName search keyword.sales
currentIntegerNoCurrent page number, starting from 1, default is 1.1
pageSizeIntegerNoPage size, default is 10.10

Response Parameters

ParameterTypeDescriptionExample
successBooleanWhether the request is successful.true
requestIdStringRequest ID.Mi6y0FCN-BHEEaHAnCFFp9DFdAAk0OUZ
dataArrayReplication task list, including the following fields:
  • replicationId: Replication task ID.
  • orgId: Organization ID.
  • name: Task name.
  • sourceDatasourceId: Source data source ID.
  • targetDatasourceId: Target data source ID.
  • type: Task type, see request parameters.
  • status: Task status, see request parameters.
  • subTaskTypeList: Sub-task type list, optional values:
    • schema: Schema replication
    • full: Full replication
    • inc_writer: Incremental replication
    • trigger: Trigger replication
  • multiActiveId: Two-way task group ID.
  • createTime: Creation time (UTC).
{
"replicationId": "rp-dbz73bhzopsg",
"orgId": "2056935997355584",
"name": "ss",
"sourceDatasourceId": "ds-d5py3zneowvr",
"targetDatasourceId": "ds-d5py5ljosmti",
"type": "forward",
"status": "preCheckFailed",
"subTaskTypeList": ["schema", "full", "inc_writer"],
"multiActiveId": "mul-dbz732q6ylk8",
"createTime": "2025-08-11 01:08:19Z"
}
currentIntegerCurrent page number.1
pageSizeIntegerPage size.10
totalIntegerTotal number of records.1

Successful Invocation Example

{
"success": true,
"requestId": "Sn9s8RTT-jpnmoNHnqrli2MBdoqv8QWD",
"data": [{
"replicationId": "rp-dbz73bhzopsg",
"orgId": "2056935997355584",
"name": "ss",
"sourceDatasourceId": "ds-d5py3zneowvr",
"targetDatasourceId": "ds-d5py5ljosmti",
"type": "forward",
"status": "preCheckFailed",
"subTaskTypeList": ["schema", "full", "inc_writer"],
"multiActiveId": "mul-dbz732q6ylk8",
"createTime": "2025-08-11 01:08:19Z"
}],
"current": 1,
"pageSize": 10,
"total": 1
}