Skip to main content
GET
Error

Authorizations

x-cdata-authtoken
string
header
required

A Sync user auth token. Generate one via POST /v2/users/generate-token.

Path Parameters

job_id
string
required

Job identifier.

Response

Task statuses

task_id
string
job_history_id
string | null

Job execution owning the effective task history; null when a matching history is not yet available.

index
integer
query
string
status
string

The task run status, e.g. QUEUED, RUNNING, SUCCESS, RETRY SUCCESS, PARTIAL_SUCCESS, RETRY PARTIAL_SUCCESS, FAILED, RETRY FAILED, ERROR, or SKIPPED. PARTIAL_SUCCESS (and RETRY PARTIAL_SUCCESS) indicates that at least one chunk succeeded and at least one chunk failed; the task is retried when Automatic Retry is enabled.

details
string

A detailed message for the status. For failed or partial-success tasks this is the error message; for successful tasks it is a summary such as "Records affected: N". Returned as a flat string for backward compatibility.

run_type
string | null

Replication run type reported by ReplicateEngine for upgraded jobs (statusversion >= 26.3), e.g. FULL_SNAPSHOT, INCREMENTAL_SNAPSHOT, PARTITIONED_SNAPSHOT, INCREMENTAL, or CDC. Null when unavailable.

start_position
string | null

Position the run started from, such as a timestamp or CDC position. Null when unavailable.

last_checkpoint
string | null

Last checkpoint reached by the run. Null when unavailable.

records_inserted
integer<int64> | null

Records inserted by the run, summed across automatic retries that keep previous writes. Null when unavailable.

records_merged
integer<int64> | null

Records merged by the run, summed across automatic retries that keep previous writes. Null when unavailable.

records_deleted
integer<int64> | null

Records deleted by the run, summed across automatic retries that keep previous writes. Null when unavailable.

error_message
string | null

Error message of a failed or partially successful completed run. Null otherwise.

affected_rows
integer | null

Records affected by the task, or null when the count is unavailable. A known zero is 0. Unknown counts are not represented by -1 or a count from an earlier independent job run. An automatic retry is another attempt of the same run. For upgraded jobs (statusversion >= 26.3), running tasks may return a realtime value from the ReplicateEngine status table. During RETRY RUNNING, the total includes retained writes from an earlier partial-success attempt when the retry preserves them. Retries that drop, truncate, or refresh destination data use only the current attempt's count. If the retained baseline or current live count is unavailable, the total is null. Completed tasks use the final task history value without adding the baseline again. This is an affected-row total, not the destination table size or a count of distinct records.

runtime
string

Elapsed time from the current attempt start while running; final stored runtime after completion.

last_run_at
string<date-time>
run_start_at
string<date-time>
instance_id
string
source_table
string
destination_table
string