Developer API

Root Response Payload

The top-level ZeroTrain Response object.

Properties of Root Response Payload

NameTypeDescription
HeaderHeaderInfoResponse header metadata describing execution context, timing, and summary statistics for the ZeroTrain evaluation.
ResultsResultItem[]Represents a single evaluated decision result produced by the ZeroTrain engine, including action, confidence score, and optional logic trace details.
ErrorsMessageItem[]Represents a structured diagnostic message generated during ZeroTrain processing, including warnings and errors.
WarningsMessageItem[]Represents a structured diagnostic message generated during ZeroTrain processing, including warnings and errors.

Syntax

	RESPONSE
       {
      "header": { HeaderInfo },
      "results": [ ResultItem ],
      "errors": [ MessageItem ],
      "warnings": [ MessageItem ]
    }

Examples

	{
    "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": []
}