Column
Reset column
Log in using the POST /api/v1/auth/ endpoint
Success: Column reset
Message: unable to fetch column from external service
POST /api/v1/column/{column_id}/reset/ HTTP/1.1
Host: /
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"table_id": "123e4567-e89b-12d3-a456-426614174000",
"generator_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"idx": 1,
"dtype": "text",
"col_dtype": "categorical",
"sql_type": "text",
"unique": true,
"nullable": true,
"autoincrement": true,
"pii_scan": true,
"has_pii": true,
"has_unprotected_pii": true,
"min_value": "text",
"max_value": "text",
"pii": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"column_id": "123e4567-e89b-12d3-a456-426614174000",
"pii_type": "text",
"confidence_score": 1,
"scan_type": "text",
"explanation": {},
"generation_method": "text"
}
],
"cardinality_threshold": 1,
"rare_category_replacement": "text",
"clip_threshold": 1,
"locale": "text",
"pii_mock_replace": true,
"pii_deselected_entities": [
"text"
],
"generator_config": {
"name": "text",
"params": {},
"links": [
{
"association": "text",
"params": {},
"generator": {}
}
]
},
"default_generator_config": {
"name": "text",
"params": {},
"links": [
{
"association": "text",
"params": {},
"generator": {}
}
]
},
"is_rejected": true,
"is_key": true,
"is_pk": true,
"is_fk": true,
"is_uk": true,
"is_referred": true,
"database_exclude_from_write": true,
"sync_status": "new",
"sync_diff": [
"DATA_TYPE_UPDATE"
]
}Update column and generator
Log in using the POST /api/v1/auth/ endpoint
nullnullnullnullnullnullnullnullnullSuccess: Column and/or generator updated
Message: unable to generate preview data using the settings provided
Message: unable to fetch column from external service
POST /api/v1/column/{column_id}/update_create/ HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 322
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"cardinality_threshold": 1,
"rare_category_replacement": "text",
"clip_threshold": 1,
"locale": "text",
"pii_mock_replace": true,
"has_pii": true,
"generator_config": {
"name": "text",
"params": {},
"links": [
{
"association": "text",
"params": {},
"generator": {}
}
]
},
"pii_deselected_entities": [
"text"
]
}No content
List columns
Log in using the POST /api/v1/auth/ endpoint
nullnullnullnullnullnullnullnullSuccess: List of columns
Message: unable to fetch database from external service
POST /api/v1/column/{database_id}/filter/ HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 294
{
"column_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"table_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"not_table_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"schema_names": [
"text"
],
"column_names": [
"text"
],
"protected_status": "PROTECTED",
"min_confidence_score": 1,
"max_confidence_score": 1
}{
"columns": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"table_id": "123e4567-e89b-12d3-a456-426614174000",
"generator_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"idx": 1,
"dtype": "text",
"col_dtype": "categorical",
"sql_type": "text",
"unique": true,
"nullable": true,
"autoincrement": true,
"pii_scan": true,
"has_pii": true,
"has_unprotected_pii": true,
"min_value": "text",
"max_value": "text",
"pii": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"column_id": "123e4567-e89b-12d3-a456-426614174000",
"pii_type": "text",
"confidence_score": 1,
"scan_type": "text",
"explanation": {},
"generation_method": "text"
}
],
"cardinality_threshold": 1,
"rare_category_replacement": "text",
"clip_threshold": 1,
"locale": "text",
"pii_mock_replace": true,
"pii_deselected_entities": [
"text"
],
"generator_config": {
"name": "text",
"params": {},
"links": [
{
"association": "text",
"params": {},
"generator": {}
}
]
},
"default_generator_config": {
"name": "text",
"params": {},
"links": [
{
"association": "text",
"params": {},
"generator": {}
}
]
},
"is_rejected": true,
"is_key": true,
"is_pk": true,
"is_fk": true,
"is_uk": true,
"is_referred": true,
"database_exclude_from_write": true,
"sync_status": "new",
"sync_diff": [
"DATA_TYPE_UPDATE"
],
"table_schema_name": "text",
"table_name": "text",
"is_excluded": true,
"suggested_generators": [
{
"generator": {
"name": "text",
"params": {},
"links": [
{
"association": "text",
"params": {},
"generator": {}
}
]
},
"pii": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"column_id": "123e4567-e89b-12d3-a456-426614174000",
"pii_type": "text",
"confidence_score": 1,
"scan_type": "text",
"explanation": {},
"generation_method": "text"
}
}
]
}
],
"n_suggested": 1,
"pagination": {
"total_elements": 1,
"total_pages": 1,
"current_page": 1,
"returned_elements": 1,
"is_last_page": true
}
}Set generator on columns
Log in using the POST /api/v1/auth/ endpoint
No response body
Message: unable to set generator using the settings provided
Message: unable to fetch database from external service
POST /api/v1/column/{database_id}/generator/ HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 394
{
"column_schema": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"cardinality_threshold": 1,
"rare_category_replacement": "text",
"clip_threshold": 1,
"locale": "text",
"pii_mock_replace": true,
"has_pii": true,
"generator_config": {
"name": "text",
"params": {},
"links": [
{
"association": "text",
"params": {},
"generator": {}
}
]
},
"pii_deselected_entities": [
"text"
]
},
"column_ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}No content
Mark column as PII
Log in using the POST /api/v1/auth/ endpoint
No response body
Message: unable to fetch database from external service
POST /api/v1/column/{database_id}/pii/?has_pii=true HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}No content
Batch reset columns
Log in using the POST /api/v1/auth/ endpoint
No response body
Message: unable to reset the generators using the settings provided
Message: unable to fetch column from external service
POST /api/v1/column/{database_id}/reset_columns/ HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 55
{
"column_ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}No content
Get Column PII Stats
Log in using the POST /api/v1/auth/ endpoint
nullnullnullnullnullnullnullnullSuccess: Column PII Stats
Message: unable to fetch database from external service
POST /api/v1/column/{database_id}/stats/ HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 294
{
"column_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"table_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"not_table_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"schema_names": [
"text"
],
"column_names": [
"text"
],
"protected_status": "PROTECTED",
"min_confidence_score": 1,
"max_confidence_score": 1
}{
"n_protected": 1,
"n_unprotected": 1,
"n_non_pii": 1
}Apply or reject suggested generators
Log in using the POST /api/v1/auth/ endpoint
nullnullnullnullnullnullnullnullNo response body
Message: unable to fetch database from external service
POST /api/v1/column/{database_id}/suggested/?apply=true HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 294
{
"column_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"table_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"not_table_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"schema_names": [
"text"
],
"column_names": [
"text"
],
"protected_status": "PROTECTED",
"min_confidence_score": 1,
"max_confidence_score": 1
}No content
Get supported generators for columns
Log in using the POST /api/v1/auth/ endpoint
Message: unable to get supported generators using the settings provided
Message: unable to fetch database from external service
POST /api/v1/column/{database_id}/supported_generators/ HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}{
"Dynamic": {
"ANY_ADDITIONAL_PROPERTY": {
"options": {
"text": "text",
"output": [
"categorical"
],
"suggested": {}
},
"fields": {
"ANY_ADDITIONAL_PROPERTY": {
"type": "text",
"default": "text",
"max_length": 1
}
}
}
},
"Duplicate": {
"ANY_ADDITIONAL_PROPERTY": {
"options": {
"text": "text",
"output": [
"categorical"
],
"suggested": {}
},
"fields": {
"ANY_ADDITIONAL_PROPERTY": {
"type": "text",
"default": "text",
"max_length": 1
}
}
}
},
"Mockers": {
"ANY_ADDITIONAL_PROPERTY": {
"options": {
"text": "text",
"output": [
"categorical"
],
"suggested": {}
},
"fields": {
"ANY_ADDITIONAL_PROPERTY": {
"type": "text",
"default": "text",
"max_length": 1
}
}
}
},
"Calculated_column": {
"ANY_ADDITIONAL_PROPERTY": {
"options": {
"text": "text",
"output": [
"categorical"
],
"suggested": {}
},
"fields": {
"ANY_ADDITIONAL_PROPERTY": {
"type": "text",
"default": "text",
"max_length": 1
}
}
}
},
"Hash": {
"ANY_ADDITIONAL_PROPERTY": {
"options": {
"text": "text",
"output": [
"categorical"
],
"suggested": {}
},
"fields": {
"ANY_ADDITIONAL_PROPERTY": {
"type": "text",
"default": "text",
"max_length": 1
}
}
}
},
"Mask": {
"ANY_ADDITIONAL_PROPERTY": {
"options": {
"text": "text",
"output": [
"categorical"
],
"suggested": {}
},
"fields": {
"ANY_ADDITIONAL_PROPERTY": {
"type": "text",
"default": "text",
"max_length": 1
}
}
}
},
"Exclude": {
"ANY_ADDITIONAL_PROPERTY": {
"options": {
"text": "text",
"output": [
"categorical"
],
"suggested": {}
},
"fields": {
"ANY_ADDITIONAL_PROPERTY": {
"type": "text",
"default": "text",
"max_length": 1
}
}
}
},
"Generate": {
"ANY_ADDITIONAL_PROPERTY": {
"options": {
"text": "text",
"output": [
"categorical"
],
"suggested": {}
},
"fields": {
"ANY_ADDITIONAL_PROPERTY": {
"type": "text",
"default": "text",
"max_length": 1
}
}
}
},
"Shuffle": {
"ANY_ADDITIONAL_PROPERTY": {
"options": {
"text": "text",
"output": [
"categorical"
],
"suggested": {}
},
"fields": {
"ANY_ADDITIONAL_PROPERTY": {
"type": "text",
"default": "text",
"max_length": 1
}
}
}
}
}Last updated
Was this helpful?

