Create a column data validation config

​

Body·

required
application/json
  • Identifier of the custom field column this validation rule is applied to.

  • ID of the custom field input (Field) this validation rule is bound to.

  • Whether this column data validation rule is active and will be applied during processing.

  • When true, records with an empty value in the target column are also submitted for validation.

  • System name of the module (e.g. contact, deal) that owns the column being validated.

  • User-defined instruction sent to the AI describing how the column value should be validated.

  • AI backend used for the validation: platform = Boost.space built-in AI, websearch = web-augmented AI, custom = user-configured provider.

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
}