This is the standardized dsl_data structure used by the repricing engine. Edit values to test rules.
Endpoint: POST /api/rules/build
Request Body:
{
"description": "your rule description",
"use_ai": true,
"force_regenerate": false
}
Returns: Structured DSL with conditions, actions, guardrails, and JsonLogic array.
Generating DSL...
Enter a rule description and click "Build Rule" to generate DSL