variables

Validate Expression Endpoint

Validate a custom variable expression against a model.

Checks syntax, variable/parameter references, and cycle detection. Accepts either model_id (for existing models) or config (for models being created).

Parameters

request : ValidateExpressionRequest Expression plus either model_id or config, and optional existing custom variables. model_repo : ModelRepository Injected model repository.

Returns

ValidationResult Validation results including errors, warnings, and references.

post/variables/validate-expression

Request body

expressionstring required
model_idstring nullable
configobject nullable
existing_custom_variablesobject nullable
new_var_namestring nullable

Response

Successful Response

validboolean required
json_valueobject nullable
errorsstring[]
warningsstring[]

Changes

No recorded changes to this endpoint across all 1 revision of this API.