Check whether a CEL expression is syntactically valid without creating a rule.
condition string in the request body and the response indicates whether the expression parses correctly.
This endpoint only validates syntax. It does not verify that field references correspond to actual data in your events or participant state. For example, event.amount > 100 will pass validation even if your events never include an amount field. Use the simulate endpoint to test a rule against realistic data.
API key passed in the X-API-Key header.
Condition to validate
CEL expression to validate
1"event.type == 'purchase' && event.amount > 100"
Validation result
Human-readable validation result or error detail
"CEL condition is valid"
Additional context about validation scope (present only on success)
"Validation checks syntax only. Field references are not verified against an event schema."
Whether the condition is syntactically valid
true