submit_encrypt_job
Submit a DIS anonymization job: syncTime → /request/encrypt → /sendMessage/encrypt.
Requires a valid asset_id from upload_file or upload_file_content. When that
asset id exists in the gateway registry, the uploaded metadata (stored filename,
width/height, checksum, file size) is treated as authoritative and mismatched caller values
are rejected.
Use target_objects=["face"] when the workflow should stay a single MCP call that
detects faces first and then blurs or redacts only those detected face regions, instead of
chaining a separate detect tool plus blur tool or applying a full-image filter.
Optional media_kind may be image or video. When provided it must match the
uploaded asset metadata; the HTTP scope gate also uses upload metadata to require
dis:encrypt:image or dis:encrypt:video for image-only/video-only clients.
source_file_path is optional for split flow. It is only used when a caller wants the
gateway to re-read the local file size instead of reusing the persisted upload metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| asset_id | Yes | ||
| checksum | No | ||
| key_name | Yes | Encryption key name. Use "null" for permanent masking; the registered key name for restoration="true". | |
| file_name | No | ||
| file_type | No | ||
| key_index | Yes | Encryption key index. Use 0 for permanent masking; a registered key index for restoration="true". | |
| media_kind | No | ||
| restoration | No | "true" = reversible: masked regions are encrypted and the key holder can restore the original later in the NoonAI DIS web console (needs a registered key; video limit 180 s). "false" (default) = permanent masking (video limit 360 s). | false |
| target_objects | No | Objects to detect and mask on every frame: "face", "body" (whole person, e.g. passers-by), "car" (license plates). Example: ["face"]. | |
| source_file_path | No | ||
| encrypt_object_label | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||