Skip to content

Create a Masking Job.

Request

Security
ApiKeyAuth
Bodyapplication/jsonrequired

Input params to create a masking job.

namestring

The name to give the Masking Job.

Example:"My favorite MaskingJob"
descriptionstring

The description of the Job (Hyperscale Job only).

Example:"Job for app finance DB"
job_typestring

The type of Job.

Value:"HYPERSCALE"
Example:"HYPERSCALE"
hyperscale_instance_idstring

The ID of the HyperscaleInstance to create this Job on (Hyperscale Job only).

Example:"hyperscale-123"
source_masking_job_idstring

The ID of the Masking Job to use as the source (Hyperscale Job only).

Example:"masking-job-123"
hyperscale_source_connector_usernamestring

The username to set for the Source Connector that will be imported (Hyperscale Job only).

Example:"db-user-123"
hyperscale_source_connector_passwordstring

The password to set for the Source Connector that will be imported (Hyperscale Job only).

Example:"dp-pass-123"
hyperscale_target_connector_usernamestring

The username to set for the Target Connector that will be imported (Hyperscale Job only).

Example:"db-user-123"
hyperscale_target_connector_passwordstring

The password to set for the Target Connector that will be imported (Hyperscale Job only).

Example:"dp-pass-123"
mount_point_idstring

The ID of the MountPoint to use for the resulting dataset (Hyperscale Job only).

Example:"mount-point-123"
unload_splitinteger, (int64)

The number of unloaded files to be generated from the source database (Hyperscale Job only).

Example:4
stream_sizeinteger, (int64)

The stream size to be used by the sqlldr oracle utility which specifies the size (in bytes) of the data stream sent from the client to the server (Hyperscale Job only).

Example:65536
retain_execution_datastring

Defines whether execution data will be stored after execution is complete (Hyperscale Job only).

Enum:"NO""ON_ERROR""ALWAYS"
Example:false
max_memoryinteger, (int32)

Maximum memory, in MB, to be allocated for each Masking job (Hyperscale Job only).

Example:1024
min_memoryinteger, (int32)

Minimum memory, in MB, to be allocated for each Masking job (Hyperscale Job only).

Example:1024
feedback_sizeinteger, (int32)

The granularity with which the masking engine provides updates on the progress of the masking job. For instance, a feedbackSize of 50000 results in log updates whenever 50000 rows are processed during the masking phase (Hyperscale Job only).

Example:10000
stream_row_limitinteger, (int32)

The stream row limit constrains the total number of rows that may enter the job for each masking stream. Setting this value to 0 allows unlimited rows into each stream, while leaving it blank will select a default limit based on job type (Hyperscale Job only).

Example:0
num_input_streamsinteger, (int32)

Number of input streams to be configured for Masking Job (Hyperscale Job only).

Example:4
max_concurrent_source_connectionsinteger, (int32)

Maximum number of parallel connection that the Hyperscale instance can have with the source datasource (Hyperscale Job only).

Example:32
max_concurrent_target_connectionsinteger, (int32)

Maximum number of parallel connection that the Hyperscale instance can have with the target datasource (Hyperscale Job only).

Example:32
parallelism_degreeinteger, (int32)

The degree of parallelism (DOP) per Oracle job to recreate the index in the post-load process (Hyperscale Job only).

Example:4
tagsArray of objects(Tag)
make_current_account_ownerboolean

Whether the account creating this Masking job must be configured as owner of it (Hyperscale Job only).

Default:true
curl -i -X POST \
  https://help-api.delphix.com/_mock/data-control-tower/continuous-compliance/2025.3.0.0/continuous-compliance-apis-dct-2025.3.0.0/masking-jobs \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "My favorite MaskingJob",
    "description": "Job for app finance DB",
    "job_type": "HYPERSCALE",
    "hyperscale_instance_id": "hyperscale-123",
    "source_masking_job_id": "masking-job-123",
    "hyperscale_source_connector_username": "db-user-123",
    "hyperscale_source_connector_password": "dp-pass-123",
    "hyperscale_target_connector_username": "db-user-123",
    "hyperscale_target_connector_password": "dp-pass-123",
    "mount_point_id": "mount-point-123",
    "unload_split": 4,
    "stream_size": 65536,
    "retain_execution_data": false,
    "max_memory": 1024,
    "min_memory": 1024,
    "feedback_size": 10000,
    "stream_row_limit": 0,
    "num_input_streams": 4,
    "max_concurrent_source_connections": 32,
    "max_concurrent_target_connections": 32,
    "parallelism_degree": 4,
    "tags": [
      {
        "key": "key-1",
        "value": "value-1"
      }
    ],
    "make_current_account_owner": true
  }'

Responses

OK

Bodyapplication/json
idstring

The ID of the created masking job.

jobobject(Job)

The initiated DCT job.

Response
{ "id": "string", "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.148000+00:00", "update_time": "2022-01-02T06:11:24.148000+00:00", "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": {} } }