Skip to main content

ConceptResult

The output of concept execution (Rt). explanation is populated when explain: true is passed to the request. SDK mapping: result (not conceptResult), result.value, result.deterministic, result.explanation (camelCase).

value object

Computed concept output. Type matches the concept's declared output type.

oneOf
number
typestring

Possible values: [float, boolean, categorical]

entitystring
versionstring
deterministicboolean

True when timestamp was provided in the request.

timestampstring<date-time>nullable
explanation objectnullable

Populated when explain: true is passed to the request. Contains node-level computation details, contribution attribution, and execution trace. Null when explain is false or omitted.

output object

Final output value. Matches ConceptResult.value.

oneOf
number
contributions object

Attribution of each input signal to the final output. Keys are signal names, values are contribution amounts.

property name*number
nodes object[]

Node-level computation details in execution order.

  • Array [
  • node_idstring
    opstring
    inputsobject
    paramsobject
    output_value object
    oneOf
    number
    output_typestring
  • ]
  • traceobject[]

    Step-by-step execution trace in topological order.

    ConceptResult
    {
    "value": 0,
    "type": "float",
    "entity": "string",
    "version": "string",
    "deterministic": true,
    "timestamp": "2024-07-29T15:51:28.071Z",
    "explanation": {
    "output": 0,
    "contributions": {},
    "nodes": [
    {
    "node_id": "string",
    "op": "string",
    "inputs": {},
    "params": {},
    "output_value": 0,
    "output_type": "string"
    }
    ],
    "trace": [
    {}
    ]
    }
    }