DecisionResult
The output of condition evaluation (At). actions_triggered[] is nested here — it is NOT at the top level of FullPipelineResult. SDK mapping: decision.actionsTriggered (camelCase), decision.value.
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]
{
"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"
}
}
}
]
}