POST
Dry Run Condition Code

Authorizations

Authorization
string
header
required

Interactive user session: the login JWT, sent as Authorization: Bearer <token>.

Path Parameters

sequence_id
integer
required

Body

application/json

Try a candidate branch snippet against one real enrollment.

branches comes from the builder rather than storage because the operator may be editing labels and the snippet together, and previewing against the saved branches would report a stale answer.

enrollment_id
integer
required
branch_code
BranchCodePayload ┬╖ object
required

A code-mode CONDITION's snippet.

No strict field, deliberately: a condition places no call, so there is nothing to protect by blocking the lead. Every failure routes to Default, exactly as an unmatched catalog condition already does.

branches
Branches ┬╖ object[]

Response

Successful Response

status
string
required
branch_key
string | null
branch_label
string | null
returned_branch
string | null
fell_to_default
boolean
default:false
duration_ms
integer
default:0
error
string | null
inputs
Inputs ┬╖ object