Skip to main content

FullPipelineResult

The result of a full pipeline execution (psi to phi to alpha). result (Rt) contains the concept execution output. decision (At) contains the condition evaluation output, including actions_triggered[]. Actions are nested inside decision, not at the top level of this object.

result object

Concept execution output (Rt).

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.

    decision object

    Condition evaluation output (At). Contains value, type, entity, and actions_triggered[]. Actions are nested here.

    value object

    The Decision (At) value. boolean for threshold/percentile/change/z_score/composite strategies. string (label) for equals strategy on categorical input.

    oneOf
    boolean
    typestring

    Possible values: [boolean, categorical]

    entitystring
    condition_idstring
    condition_versionstring
    timestampstring<date-time>nullable
    actions_triggered object[]

    Actions fired by this decision. Always nested inside DecisionResult (At), never at the top level of FullPipelineResult.

  • Array [
  • action_idstring
    action_versionstring
    statusstring

    Possible values: [triggered, skipped, failed, would_trigger]

    payload_sentobjectnullable
    error objectnullable
    error object
    typestringrequired

    Machine-readable error type. Always branch on this field — never on message. TypeScript SDK maps this directly to MemintelError.type.

    Possible values: [syntax_error, type_error, semantic_error, reference_error, parameter_error, graph_error, execution_error, execution_timeout, auth_error, not_found, conflict, rate_limit_exceeded, bounds_exceeded, action_binding_failed]

    messagestringrequired
    locationstringnullable
    suggestionstringnullable
  • ]
  • dry_runboolean
    entitystring
    timestampstring<date-time>
    FullPipelineResult
    {
    "result": {
    "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": [
    {}
    ]
    }
    },
    "decision": {
    "value": true,
    "type": "boolean",
    "entity": "string",
    "condition_id": "string",
    "condition_version": "string",
    "timestamp": "2024-07-29T15:51:28.071Z",
    "actions_triggered": [
    {
    "action_id": "string",
    "action_version": "string",
    "status": "triggered",
    "payload_sent": {},
    "error": {
    "error": {
    "type": "syntax_error",
    "message": "string",
    "location": "string",
    "suggestion": "string"
    }
    }
    }
    ]
    },
    "dry_run": true,
    "entity": "string",
    "timestamp": "2024-07-29T15:51:28.071Z"
    }