Record Prediction Outcome
Predictive Risk Engine
Record Prediction Outcome
Records the actual outcome of a previously predicted transaction.
This feedback loop improves prediction accuracy over time. Call this after every transaction you pre-screened with /predict/risk.
POST
Record Prediction Outcome
Authorizations
Your Revtain API key (format: rev_xxx). Provided during onboarding.
Body
application/json
Response
Outcome recorded
Example:
true
Example:
"pred_a1b2c3d4e5f6"
Example:
"proceed_with_caution"
The outcome you reported in the request (echoed back so you can correlate).
Available options:
succeeded, failed, blocked Example:
"succeeded"
Whether the prediction matched the actual outcome — feeds the model's accuracy tracking.
Example:
true