Request body.
Optionalexpression?: stringThe workflow expression source to evaluate. Defaults to an empty string.
Optionalscope?: Record<string, unknown>Key-value map of variables available to the expression at evaluation time. Defaults to an empty map.
The result of evaluating the expression, including any captured print output.
Validate a workflow expression
Parses and statically analyses a workflow expression string without executing it.
Returns structured findings, inferred symbol types, and any warnings so that editors
and build-time tooling can surface diagnostics before the expression is used in a
live workflow.
The response always includes an ok flag indicating whether the validation call
itself succeeded, and a separate valid flag indicating whether the expression
passed analysis. A 200 is returned regardless of whether the expression is valid;
a 401 is returned if the caller is not authenticated.
Requires an authenticated developer session.
Request body.
Optionalexpression?: stringThe workflow expression source to validate. Defaults to an empty string.
Validation outcome including parse errors, warnings, symbol types, and structured editor diagnostics.
Run a workflow expression Evaluates a single workflow expression string against a caller-supplied variable scope and returns the computed result. Use this endpoint to test and iterate on expressions during workflow development before embedding them in a workflow graph. The expression is evaluated synchronously. If evaluation fails (syntax error, runtime exception, or type mismatch), the endpoint returns a 422 with a human-readable reason rather than a 200 with an error payload. Successful responses always include any
printlnoutput captured during evaluation. Requires an authenticated developer session. The expression runs in an isolated context and cannot access platform resources beyond what you supply inscope.