Developer API

HeaderInfo

Response header metadata describing execution context, timing, and summary statistics for the ZeroTrain evaluation.

Properties of HeaderInfo

NameTypeDescription
ProductstringProduct identifier of the executing ZeroTrain engine instance.
CorrelationIdstringUnique correlation identifier used to trace this request across systems and logs.
CustomTagstringOptional custom tag supplied by the caller for grouping, routing, or trace purposes.
CreatedUTCDateTimeUTC timestamp indicating when the evaluation request was created.
ProcessingTimestringTotal processing time for this evaluation expressed as a formatted duration (e.g., '2.3 ms').
RowsEvaluatedintTotal number of input rows evaluated by the engine.
ResultCountintTotal number of result objects produced by the evaluation.
ErrorCountintTotal number of errors encountered during processing.
WarningCountintTotal number of warnings generated during processing.

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