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.
- number
- boolean
- string
Possible values: [float, boolean, categorical]
True when timestamp was provided in the request.
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.
- number
- boolean
- string
contributions object
Attribution of each input signal to the final output. Keys are signal names, values are contribution amounts.
nodes object[]
Node-level computation details in execution order.
output_value object
- number
- boolean
- string
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.
- boolean
- string
Possible values: [boolean, categorical]
actions_triggered object[]
Actions fired by this decision. Always nested inside DecisionResult (At), never at the top level of FullPipelineResult.
Possible values: [triggered, skipped, failed, would_trigger]
error objectnullable
error object
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]
{
"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"
}