Create a column data validation config
Body·
required
application/json
- Type: stringcolumn
Key Identifier of the custom field column this validation rule is applied to.
- Type: integercustom
Input Id ID of the custom field input (Field) this validation rule is bound to.
- Type: booleanenabled
Whether this column data validation rule is active and will be applied during processing.
- Type: booleaninclude
Empty Fields When true, records with an empty value in the target column are also submitted for validation.
- Type: stringmodule
System name of the module (e.g. contact, deal) that owns the column being validated.
- Type: stringprompt
User-defined instruction sent to the AI describing how the column value should be validated.
- Type: string enumprovider
AI backend used for the validation: platform = Boost.space built-in AI, websearch = web-augmented AI, custom = user-configured provider.
values- platform
- websearch
- custom
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/ai/column-data-validation
curl https://test.boost.space/api/ai/column-data-validation \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"id": 42,
"columnKey": "string",
"module": "string",
"provider": "platform",
"prompt": "string",
"enabled": true,
"includeEmptyFields": true,
"customInputId": 42
}'
{
"id": 42,
"columnKey": "string",
"module": "string",
"provider": "platform",
"prompt": "string",
"enabled": true,
"includeEmptyFields": true,
"customInputId": 42
}