Skip to content

Repair a Timeflow.

Request

Security
ApiKeyAuth
Path
timeflowIdstring, non-emptyrequired

The ID of the timeflow.

Bodyapplication/jsonrequired

Timeflow repair information.

hoststring, [ 1 .. 256 ] charactersrequired

Hostname of the remote host.

Example:"test.host.com"
portinteger, (int32), [ 1 .. 65535 ]

Port to connect to remote host.

Default:22
Example:22
usernamestring, [ 1 .. 256 ] charactersrequired

Username to connect to remote host.

Example:"username"
directorystring, [ 1 .. 2048 ] charactersrequired

Location of the missing logs on the host.

Example:"folder1/folder2"
start_locationstring, [ 1 .. 20 ] charactersrequired

The database specific identifier specifying the start location of the missing log.

Example:"123456"
end_locationstring, [ 1 .. 20 ] charactersrequired

The database specific identifier specifying the end location of the missing log.

Example:"654321"
use_engine_public_keyboolean

Whether to use public key authentication.

Example:true
passwordstring, [ 1 .. 255 ] characters

The password of the user to connect to remote host machine.

Example:"password"
key_pair_private_keystring, [ 1 .. 256 ] characters

The private key of the key pair credentials.

Example:"private key"
key_pair_public_keystring, [ 1 .. 256 ] characters

The public key of the key pair credentials.

Example:"public key"
vault_idstring, [ 1 .. 256 ] characters

The DCT id or name of the vault from which to read the host credentials.

Example:"my-vault"
hashicorp_vault_enginestring, [ 1 .. 256 ] characters

Vault engine name where the credential is stored.

Example:"kv"
hashicorp_vault_secret_pathstring, [ 1 .. 256 ] characters

Path in the vault engine where the credential is stored.

Example:"oracle-env"
hashicorp_vault_username_keystring, [ 1 .. 256 ] characters

Key for the username in the key-value store.

Example:"username"
hashicorp_vault_secret_keystring, [ 1 .. 256 ] characters

Key for the password in the key-value store.

Example:"secret"
azure_vault_namestring, [ 1 .. 256 ] characters

Azure key vault name (ORACLE, ASE and MSSQL_DOMAIN_USER only).

Example:"azure_vault"
azure_vault_username_keystring, [ 1 .. 256 ] characters

Azure vault key for the username in the key-value store (ORACLE, ASE and MSSQL_DOMAIN_USER only).

Example:"username"
azure_vault_secret_keystring, [ 1 .. 256 ] characters

Azure vault key for the password in the key-value store (ORACLE, ASE and MSSQL_DOMAIN_USER only).

Example:"secret"
cyberark_vault_query_stringstring, [ 1 .. 256 ] characters

Query to find a credential in the CyberArk vault.

Example:"Safe=Test;Folder=Test;Object=Test"
use_kerberos_authenticationboolean

Whether to use kerberos authentication.

Example:true
sshVerificationStrategyobject(SSHVerificationStrategy)

Mechanism to use for ssh host verification.

curl -i -X POST \
  'https://help-api.delphix.com/_mock/data-control-tower/continuous-data/2025.2.0.0/continuous-data-apis-dct-2025.2.0.0/timeflows/{timeflowId}/repair' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "host": "test.host.com",
    "port": 22,
    "username": "username",
    "directory": "folder1/folder2",
    "start_location": "123456",
    "end_location": "654321",
    "use_engine_public_key": true,
    "password": "password",
    "key_pair_private_key": "private key",
    "key_pair_public_key": "public key",
    "vault_id": "my-vault",
    "hashicorp_vault_engine": "kv",
    "hashicorp_vault_secret_path": "oracle-env",
    "hashicorp_vault_username_key": "username",
    "hashicorp_vault_secret_key": "secret",
    "azure_vault_name": "azure_vault",
    "azure_vault_username_key": "username",
    "azure_vault_secret_key": "secret",
    "cyberark_vault_query_string": "Safe=Test;Folder=Test;Object=Test",
    "use_kerberos_authentication": true,
    "sshVerificationStrategy": {
      "name": "RAW_KEY",
      "key_type": "RSA",
      "raw_key": "string",
      "fingerprint_type": "SHA256",
      "fingerprint": "string"
    }
  }'

Responses

Ok

Bodyapplication/json
jobobject(Job)

An asynchronous task.

Response
{ "job": { "id": "job-123", "status": "RUNNING", "is_waiting_for_telemetry": true, "type": "DB_REFRESH", "localized_type": "DB Refresh", "error_details": "Unable to connect to the engine.", "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.", "target_id": "vdb-123", "target_name": "vdb", "start_time": "2022-01-02T05:11:24.148Z", "update_time": "2022-01-02T06:11:24.148Z", "trace_id": "string", "engine_ids": [ … ], "tags": [ … ], "engines": [ … ], "account_id": 1, "account_name": "User 1", "percent_complete": 50, "virtualization_tasks": [ … ], "tasks": [ … ], "execution_id": "string", "result_type": "string", "result": {} } }