Skip to content
Start here

Validators

List validators
GET/accounts/{account_id}/dlp/validators
Get a validator
GET/accounts/{account_id}/dlp/validators/{validator_id}
ModelsExpand Collapse
References object { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

entries: array of object { id, name, type }

The detection entries using this validator, ordered by name.

id: string
formatuuid
name: string
type: "custom" or "custom_prompt_topic" or "predefined" or 4 more

The type of a detection entry.

One of the following:
"custom"
"custom_prompt_topic"
"predefined"
"integration"
"exact_data"
"document_fingerprint"
"word_list"
entry_count: number

Number of detection entries this validator is attached to.

formatint32
minimum0
Validator = object { id, created_at, kind, 4 more } or object { id, created_at, kind, 5 more }

Reusable logic that a detection entry can attach to in order to refine its matches. The kind field determines the rest of the body.

One of the following:
ProximityWordValidator object { id, created_at, kind, 4 more }

A reusable list of weighted words. Attaching it to a detection entry raises the confidence of that entry’s matches when one of the words appears nearby, and lowers it when none do.

id: string
formatuuid
created_at: string
formatdate-time
kind: "proximity_words"
name: string

A name for this validator, at most 50 characters.

referenced_by: References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

updated_at: string
formatdate-time
words: array of Word { weight, word }

The words that raise confidence when found near a match.

weight: Weight

How much a word contributes to a match’s confidence when it is found nearby.

Separate from a profile’s high/medium/low confidence threshold: this describes how telling the word is, not how confident the resulting match is.

word: string

The word or phrase to look for. Must contain 1–128 characters and is matched case-insensitively.

WorkerValidator object { id, created_at, kind, 5 more }

A customer Worker registered as a validator.

id: string
formatuuid
created_at: string
formatdate-time
kind: "worker"
name: string

A name for this validator, at most 50 characters.

referenced_by: References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

script_tag: string

The public script tag of the customer’s Worker that scores matches.

updated_at: string
formatdate-time
default: optional number or "veto"
One of the following:
number
"veto"
ValidatorArray = array of Validator
One of the following:
ProximityWordValidator object { id, created_at, kind, 4 more }

A reusable list of weighted words. Attaching it to a detection entry raises the confidence of that entry’s matches when one of the words appears nearby, and lowers it when none do.

id: string
formatuuid
created_at: string
formatdate-time
kind: "proximity_words"
name: string

A name for this validator, at most 50 characters.

referenced_by: References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

updated_at: string
formatdate-time
words: array of Word { weight, word }

The words that raise confidence when found near a match.

weight: Weight

How much a word contributes to a match’s confidence when it is found nearby.

Separate from a profile’s high/medium/low confidence threshold: this describes how telling the word is, not how confident the resulting match is.

word: string

The word or phrase to look for. Must contain 1–128 characters and is matched case-insensitively.

WorkerValidator object { id, created_at, kind, 5 more }

A customer Worker registered as a validator.

id: string
formatuuid
created_at: string
formatdate-time
kind: "worker"
name: string

A name for this validator, at most 50 characters.

referenced_by: References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

script_tag: string

The public script tag of the customer’s Worker that scores matches.

updated_at: string
formatdate-time
default: optional number or "veto"
One of the following:
number
"veto"
WorkerValidator object { id, created_at, name, 4 more }

A customer Worker registered as a validator.

id: string
formatuuid
created_at: string
formatdate-time
name: string

A name for this validator, at most 50 characters.

referenced_by: References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

script_tag: string

The public script tag of the customer’s Worker that scores matches.

updated_at: string
formatdate-time
default: optional number or "veto"
One of the following:
number
"veto"

ValidatorsProximity Words

List proximity word validators
GET/accounts/{account_id}/dlp/validators/proximity_words
Get a proximity word validator
GET/accounts/{account_id}/dlp/validators/proximity_words/{validator_id}
Create a proximity word validator
POST/accounts/{account_id}/dlp/validators/proximity_words
Update a proximity word validator
PUT/accounts/{account_id}/dlp/validators/proximity_words/{validator_id}
Delete a proximity word validator
DELETE/accounts/{account_id}/dlp/validators/proximity_words/{validator_id}
ModelsExpand Collapse
ProximityWordValidator object { id, created_at, name, 3 more }

A reusable list of weighted words. Attaching it to a detection entry raises the confidence of that entry’s matches when one of the words appears nearby, and lowers it when none do.

id: string
formatuuid
created_at: string
formatdate-time
name: string

A name for this validator, at most 50 characters.

referenced_by: References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

updated_at: string
formatdate-time
words: array of Word { weight, word }

The words that raise confidence when found near a match.

weight: Weight

How much a word contributes to a match’s confidence when it is found nearby.

Separate from a profile’s high/medium/low confidence threshold: this describes how telling the word is, not how confident the resulting match is.

word: string

The word or phrase to look for. Must contain 1–128 characters and is matched case-insensitively.

ProximityWordValidatorArray = array of ProximityWordValidator { id, created_at, name, 3 more }
id: string
formatuuid
created_at: string
formatdate-time
name: string

A name for this validator, at most 50 characters.

referenced_by: References { entries, entry_count }

What currently uses a validator. Deleting a validator that is still in use returns 409, so check this first.

Read-only. A validator is attached or detached by updating the detection entry that uses it, not by writing this back.

updated_at: string
formatdate-time
words: array of Word { weight, word }

The words that raise confidence when found near a match.

weight: Weight

How much a word contributes to a match’s confidence when it is found nearby.

Separate from a profile’s high/medium/low confidence threshold: this describes how telling the word is, not how confident the resulting match is.

word: string

The word or phrase to look for. Must contain 1–128 characters and is matched case-insensitively.

Weight = "strong" or "moderate" or "weak"

How much a word contributes to a match’s confidence when it is found nearby.

Separate from a profile’s high/medium/low confidence threshold: this describes how telling the word is, not how confident the resulting match is.

One of the following:
"strong"
"moderate"
"weak"
Word object { weight, word }

A word that raises a match’s confidence when it appears near the match.

weight: Weight

How much a word contributes to a match’s confidence when it is found nearby.

Separate from a profile’s high/medium/low confidence threshold: this describes how telling the word is, not how confident the resulting match is.

word: string

The word or phrase to look for. Must contain 1–128 characters and is matched case-insensitively.

ProximityWordDeleteResponse = unknown