Skip to content

Get a discovery expression by ID.

Request

Security
ApiKeyAuth
Path
expressionIdstring, non-emptyrequired

The ID of the discovery expression.

curl -i -X GET \
  'https://help-api.delphix.com/_mock/data-control-tower/continuous-compliance/2025.1.0.0/continuous-compliance-apis-dct-2025.1.0.0/discovery-expressions/{expressionId}' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
idstring

The id of the discovery expression.

Example:"5ff0dab4-368c-4d57-8b61-9a09b6e80f42"
namestring

The name of the discovery expression.

Example:"my expression"
regular_expressionstring

The regular expression that will be used to match against column/field names or data values during the execution of a discovery job. Only applicable for SEARCH expressions.

Example:".*"
data_level_profilingboolean

This field determines whether the discovery expression will be targeted at the underlying data in a data source (e.g. row values in the database column / field values in the file), or whether the discovery expression will be targeted at the schema of the data source (e.g. column names in a database table or field names in a file). Data-Level profiling consumes more memory than Column-Name-Level/Field-Name-Level profiling due to the fact that the discovery expression must be checked against a larger number of data values (e.g. hundreds) than column/field names (i.e. one). Only applicable for SEARCH expressions.

Example:true
min_data_lengthinteger

Minimum length of the value for string types. Only applicable for TYPE expressions.

Example:1
engine_idstring

The id of the engine associated with this discovery expression.

Example:"5ff0dab4-368c-4d57-8b61-9a09b6e80f42"
engine_namestring

The name of the engine associated with this discovery expression.

Example:"my engine"
data_class_idstring

The id of the data class associated with this discovery expression.

Example:"6b5c4d3e-2a1b-4c3d-5e6f-7a8b9c0d1e2f"
data_class_namestring

The name of the data class associated with this discovery expression.

Example:"My Domain"
data_typestring

Data type to apply a constraint to. Only applicable for TYPE expressions.

Enum:"String""Number""Date""Binary"
Example:"String"
expression_typestring

The type of the discovery expression.

Enum:"SEARCH""TYPE"
Example:"SEARCH"
levelstring

The level of data sources this discovery expression will be targeted.

Enum:"DATA""COLUMN""TYPE"
Example:"DATA"
tagsArray of objects(Tag)

The tags of this discovery expression.

Response
{ "id": "5ff0dab4-368c-4d57-8b61-9a09b6e80f42", "name": "my expression", "regular_expression": ".*", "data_level_profiling": true, "min_data_length": 1, "engine_id": "5ff0dab4-368c-4d57-8b61-9a09b6e80f42", "engine_name": "my engine", "data_class_id": "6b5c4d3e-2a1b-4c3d-5e6f-7a8b9c0d1e2f", "data_class_name": "My Domain", "data_type": "String", "expression_type": "SEARCH", "level": "DATA", "tags": [ { … } ] }