ComplianceResponse
Typed draft decision and deterministic SMS metrics. Never dispatches a message.
diagnostics objectrequired
Provider/cache/fallback telemetry.
Whether the entire mesh and cache budget expired.
Whether the shared redacted structural cache supplied this result.
Wall-clock evaluation latency including cache work.
Possible values: >= 0
True for lexical fallback; these are heuristic, uncalibrated estimates.
Configured requested model; null for lexical or older cached decisions.
native object
- null
- NativeEvidence
Selected model family, or lexical for deterministic fallback.
results objectrequired
Four bounded decision results.
carrier_compliance_risk objectrequired
Bounded carrier risk.
- object
Integer rubric; a higher value indicates higher risk.
Possible values: [score]
Carrier risk in 1..5.
Possible values: >= 1 and <= 5
intent objectrequired
Categorical notification intent.
- object
Intent choice and available label probabilities.
distribution objectrequired
Known-label distribution; empty means the provider supplied none.
Possible values: [choice]
Selected label.
Possible values: [transactional, marketing, mixed_promotional, phishing_or_scam]
is_credential_phishing objectrequired
Probability of deceptive credential harvesting.
- object
A bounded probability, not a regulatory certification.
Probability in the inclusive 0..1 interval.
Possible values: >= 0 and <= 1
Possible values: [noul]
The model's boolean choice.
is_disguised_marketing objectrequired
Probability of promotional copy disguised as transactional.
- object
A bounded probability, not a regulatory certification.
Probability in the inclusive 0..1 interval.
Possible values: >= 0 and <= 1
Possible values: [noul]
The model's boolean choice.
sms objectrequired
Body segmentation estimate, independent of model/cache.
Units available per concatenated segment (153 or 67).
Possible values: >= 0
Selected alphabet.
Possible values: [GSM-7, UCS-2]
Estimated segments; zero for an empty body.
Possible values: >= 0
Units available in a single un-concatenated SMS (160 or 70).
Possible values: >= 0
GSM-7 septets or UTF-16 code units, not Unicode scalar count.
Possible values: >= 0
{
"diagnostics": {
"budget_exhausted": true,
"cached": true,
"elapsed_ms": 0,
"fallback": true,
"model": "string",
"native": "null",
"provider": "string"
},
"results": {
"carrier_compliance_risk": {
"type": "score",
"value": 0
},
"intent": {
"distribution": {},
"type": "choice",
"value": "transactional"
},
"is_credential_phishing": {
"probability": 0,
"type": "noul",
"value": true
},
"is_disguised_marketing": {
"probability": 0,
"type": "noul",
"value": true
}
},
"sms": {
"concatenated_segment_limit": 0,
"encoding": "GSM-7",
"segments": 0,
"single_segment_limit": 0,
"units": 0
}
}