What is an Evaluation?

Learn the evaluation lifecycle — from API request through workflow execution to a final accept, reject, or review decision.

An evaluation is a single execution of a workflow in RiskOS™. When your application sends a POST request to the /api/evaluation endpoint with user, business, or device data, RiskOS™ runs the specified workflow and returns a decision along with enrichment data, risk scores, and reason codes.

Every interaction with the RiskOS™ decisioning engine — whether identity verification, fraud screening, or compliance check — is an evaluation.


Evaluation lifecycle

PhaseWhat happensOutput
RequestYour application sends a POST to /api/evaluation with a payload containing PII and a workflow nameeval_id assigned
ExecutionRiskOS™ runs the workflow: Input → Enrichments → Conditions → Rules → DecisionStep-by-step processing
DecisionThe workflow reaches a terminal step (Decision or Manual Review)ACCEPT, REJECT, or REVIEW
ResponseRiskOS™ returns the decision, enrichment data, tags, reason codes, and scoresJSON response or webhook
Case creation (conditional)If the workflow routes to Manual Review, the evaluation creates a case in Case ManagementCase record

Evaluation states

The eval_status field tracks where an evaluation is in execution. These states are distinct from decisions, which track what action to take.

eval_status valueDescriptionTrigger
evaluation_in_progressThe workflow is actively executing stepsPOST /api/evaluation received and workflow starts
evaluation_pausedThe workflow is waiting for user action (OTP, DocV, Wait step, Hosted Flow)Asynchronous step reached
evaluation_completedThe workflow ran to completion and returned a decisionAll steps executed

Webhook events such as workflow_execution_failed indicate additional terminal outcomes. You can also terminate a paused evaluation via PATCH /api/evaluation/{eval_id} with actions.end.

For the full lifecycle model — including workflow states, case statuses, and state diagrams — see Statuses & Lifecycle.


Key fields in the evaluation response

FieldTypeDescription
eval_idstringUnique identifier for this evaluation
workflow_namestringThe workflow that processed the evaluation
decisionstringFinal outcome: ACCEPT, REJECT, or REVIEW
tagsarrayMetadata labels applied by Tag steps during execution
reason_codesarrayCodes explaining why the decision was reached
data_enrichmentsarrayResults from each enrichment called during execution
computedobjectValues calculated by Transformation and Rule Scorecard steps

Synchronous vs asynchronous evaluations

Evaluations follow one of two execution patterns depending on the workflow configuration:

  • Synchronous: The workflow completes all steps and returns a decision in the API response. This is the default for workflows without user-interaction steps.
  • Asynchronous: The workflow pauses at a step that requires user action (Document Verification, OTP, or a Wait step). RiskOS™ returns an evaluation_paused status. When the action completes, the workflow resumes and delivers the final result via webhook.

See Synchronous vs Asynchronous Evaluations for the full execution model.


Related concepts