External Services
post/external-services/{id}/data-imports/{run_id}/cancel

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/external-services/{id}/data-imports/{run_id}/cancel
  • Auth: HTTP bearer

Path parameters

idinteger required

External service ID

run_idinteger required

Data import run ID

Response

Cancellation requested; the run settles as cancelled shortly

atomicboolean required

Whether a failed run leaves no imported data behind.

cancel_requestedboolean required
created_atstring date-time required
created_byinteger nullable
error_messagestring nullable

Why the run did not succeed, in one or two sentences.

finished_atstring date-time nullable
helper_outputstring nullable

Last lines the transfer printed (dump/restore tool output), with every secret removed. Present for successful runs too.

idinteger required
phasestring required

preparing_target, transferring, verifying or finished. Only a successful run reaches finished; otherwise this is where it stopped.

replace_existingboolean required
service_idinteger required
service_typestring required
sourcestring required

Source connection string with its credentials masked.

source_databasestring required
started_atstring date-time required
statusstring required

running, succeeded, failed, cancelled or interrupted.

target_databasestring required
target_object_countinteger nullable

Tables/collections in the target after a successful import.

target_size_bytesinteger nullable
timeout_secondsinteger required
updated_atstring date-time required

Changes