Developer API

ResultItem

Represents a single evaluated decision result produced by the ZeroTrain engine, including action, confidence score, and optional logic trace details.

Properties of ResultItem

NameTypeDescription
ModelNamestringName of the ZeroTrain model that produced this decision result.
DecisionIdstringRow-level identifier of the matched rule within the model. Identifies the specific model entry that generated this decision result.
InputIDstringCorrelation identifier for the evaluated input record. In batch mode, this value matches the input record identifier to enable result-to-input alignment.
ActionstringAction returned by the engine for this evaluated row.
ConfidenceScoredecimalDeterministic confidence score representing the weighted proximity and logic contribution for this decision. Rounded to 4 decimal places.
LogicPassedbool?Indicates whether logic conditions associated with this decision passed. Null when no logic was defined.
logicTracestring[]Optional execution trace describing logic evaluation steps when tracing is enabled.

404 - Not Found