Skip to main content

Query Replication Tasks

Queries replication tasks by page. You can filter by task ID, status, data source, task type, bidirectional task group, and task name keyword.

Request URL: /openapi/v1/replication/list

Request Method: GET

Request Parameters

ParameterTypeRequiredDescriptionExample
replicationIdStringNoReplication task ID.rp-deddhxp65zbp
statusStringNoTask status. See Task Status Values.running
sourceDatasourceIdStringNoSource data source ID.ds-source001
targetDatasourceIdStringNoTarget data source ID.ds-target001
datasourceIdStringNoSource or target data source ID.ds-common001
typeStringNoTask type. See Task Type Values.default
multiActiveIdStringNoBidirectional task group ID. The forward and backward tasks share the same value. You can use it with type=backward to query backward tasks.mul-dbz732q6ylk8
keywordStringNoTask name keyword.sales
currentIntegerNoPage number, starting from 1. The default value is 1.1
pageSizeIntegerNoNumber of records per page. The default value is 10.10

Response Parameters

ParameterTypeDescriptionExample
successBooleanWhether the request was successful.true
requestIdStringRequest ID.Wm0i7VHR-IOPHyAAnHLMy8REdJPq6NGI
dataArrayReplication task list. See Replication Task Fields.See the example below
currentIntegerCurrent page number.1
pageSizeIntegerNumber of records per page.10
totalIntegerTotal number of matching records.1066

Replication Task Fields

ParameterTypeDescriptionExample
replicationIdStringReplication task ID.rp-div0t0awwobr
orgIdStringOrganization ID.2056935997355584
nameStringReplication task name.char_clob
sourceDatasourceIdStringSource data source ID.ds-dimg0bnlkjwg
targetDatasourceIdStringTarget data source ID.ds-d59tvhis5v0z
typeStringTask type. See Task Type Values.default
statusStringTask status. See Task Status Values.running
subTaskTypeListArraySubtask type list. See Subtask Type Values.["schema", "full", "inc_writer"]
multiActiveIdStringBidirectional task group ID. This field may be absent for one-way tasks.mul-dbz732q6ylk8
createTimeStringCreation time in UTC.2026-05-29 08:33:45Z

Successful Invocation Example

{
"success": true,
"requestId": "Wm0i7VHR-IOPHyAAnHLMy8REdJPq6NGI",
"data": [
{
"replicationId": "rp-div0t0awwobr",
"orgId": "2056935997355584",
"name": "char_clob",
"sourceDatasourceId": "ds-dimg0bnlkjwg",
"targetDatasourceId": "ds-d59tvhis5v0z",
"type": "default",
"status": "running",
"subTaskTypeList": ["schema", "full", "inc_writer"],
"createTime": "2026-05-29 08:33:45Z"
}
],
"current": 1,
"pageSize": 5,
"total": 1066
}

Task Status Values

ValueDescription
createSuccessCreated successfully.
preCheckingPrechecking.
preCheckSuccessPrecheck succeeded.
preCheckFailedPrecheck failed.
notStartedPending start.
startingStarting.
runningRunning.
successCompleted.
failedFailed.
suspendedSuspended.
abnormalAbnormal.
stoppedStopped.
lockedLocked.

Task Type Values

ValueDescription
defaultOne-way replication task.
forwardForward task of a bidirectional replication task.
backwardBackward task of a bidirectional replication task.

Subtask Type Values

ValueDescription
schemaSchema replication.
fullFull replication.
inc_writerIncremental replication.
triggerTrigger replication.