Get Decision Provenance
lexq_provenance_getGet the lineage of a single decision: what was decided, deterministic why per rule, input facts (PII facts are masked as •••••• with maskedKeys listing them — values are revealable only in the console, audited), the authored/published/deployed responsibility chain, and the rule snapshot fingerprint. lineage.unavailableReason is null when all three layers (authored, published, deployed) are present. Otherwise it says why one or more layers are null: COMPOSITE_EXECUTION (a composite execution ran several groups in one request, so there is no single version or deployment and all three layers are null); NOT_LIVE_VERSION (the version that ran, such as an A/B test or fallback version, was not the live deployment's version at that moment, so deployed is null); NOT_RECORDED (a layer is null and the record does not say why, usually because the decision was recorded before LexQ began storing reasons).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"traceId": "<traceId>"
},
"name": "lexq_provenance_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| traceId | Yes | Trace ID of the execution |