Skip to content

Decisions and assurance

Every completed session has three fields that work together: declared_decision, decision and assurance.

declared_decision is what the workflow said: approved, declined or review. It comes from the step policies (for example a decline on a failed light check) or from the workflow’s decision block.

decision is the platform decision. It depends on your app’s automatic decisions setting:

Automatic decisions decision
Off Always review, whatever the workflow declared. A person decides.
On The same as declared_decision.

We switch automatic decisions on or off per app, at your request. Switching them on means you accept, for that app, that the workflow’s decisions take effect without a person reviewing them.

Once a reviewer decides a review session, decision becomes their approved or declined, and declared_decision keeps what the workflow said.

Drive your product from decision, never from declared_decision. Use declared_decision and checks as context for your own reviewer.

assurance says how much the checks behind the workflow have been validated:

  • experimental: at least one check policy the workflow uses has not been signed off by us yet.
  • qualified: every check policy the workflow uses has been signed off.

assurance does not change decision; it tells you how much weight the result can bear. GET /v1/capabilities lists each step type’s policy id and which ones are signed off.

Step type Policy id
gestures fast-gestures-v1
light screen-color-sequence-v5
id_portrait face-to-id-review-v1
face_match local-sface-2021dec-mirror@bands-v2
name_match id-name-v2
id_expiry id-expiry-v1
id_barcode id-barcode-v1
voice_enrol voice-enrol-v1
voice_match voice-match-v1

The policy id behind each check is also on the check itself, as policy_version.

A face match reports a band rather than a score you should rely on: strong, possible or weak. The step’s min_band (default strong) decides whether it passed. Below that, possible is inconclusive and weak is failed. Each face is compared together with its mirror image, which steadies the score when the face is turned slightly.

Some captures are never approved on their own, whatever the other checks say. The session’s reason tells you why:

reason When
light_skipped The person skipped the light check, in a workflow whose light step has skip: "review" (the default). See the light step.
id_screen_recapture The ID photo looks like a picture of the ID shown on a screen. The ID check’s reasons also include it. See ID liveness.
id_photocopy The ID photo looks like a greyscale photocopy of the ID. The ID check’s reasons also include it.
id_liveness_not_computed The ID liveness check could not run. Never treated as a pass.
virtual_camera The check ran on a virtual camera (software that can feed in any video, such as OBS) because the device had no other camera. The movement check’s reasons also include virtual_camera.

When a session ends in review because the person stopped it themselves, the reason names the step, for example light_stopped_by_person, so you can tell it apart from a camera or connection problem (light_unclear or your workflow’s own reason).