ResultItem
Represents a single evaluated decision result produced by the ZeroTrain engine, including action, confidence score, and optional logic trace details.
Properties of ResultItem
| Name | Type | Description |
| ModelName | string | Name of the ZeroTrain model that produced this decision result. |
| DecisionId | string | Unique identifier of the matched decision within the model. |
| Action | string | Action returned by the engine for this evaluated row. |
| ConfidenceScore | decimal | Deterministic confidence score representing the weighted proximity and logic contribution for this decision. Rounded to 4 decimal places. |
| LogicPassed | bool? | Indicates whether logic conditions associated with this decision passed. Null when no logic was defined. |
| logicTrace | string[] | Optional execution trace describing logic evaluation steps when tracing is enabled. |
Example
{
"header": {
"product": "ZeroTrain.Ai Core",
"correlationId": "71282e3e-9f2e-4162-b842-114e94532b94",
"customTag": "Call-Session-2026-0045",
"createdUTC": "2026-02-17T22:12:03.5875986Z",
"processingTime": "67.40 µs ⚡",
"rowsEvaluated": 4,
"resultCount": 1,
"errorCount": 0,
"warningCount": 0
},
"results": [
{
"modelName": "CallCenterRoutingModel",
"decisionId": "CC-001",
"action": "EscalateToSupervisor",
"confidenceScore": 0.9368,
"logicPassed": true,
"logicTrace": [
"R1",
"C4:P"
]
}
],
"errors": [],
"warnings": []
}