# Response Scenarios

This section aims to support you in mapping your decision matrix with the scenarios that by Unico may return, as well as our recommendations for decision-making.

{% hint style="info" %}
All `authenticationInfo` response parameters will be returned regardless of the flow used. If you do not use a specific capability, be aware that the response will always be `UNSPECIFIED`.
{% endhint %}

## Flows with Liveness Detection, Identity Verification, Behavioral Alerts, and Risk Score

<table data-full-width="true"><thead><tr><th width="115">state</th><th width="173">result</th><th width="144">livenessResult</th><th width="139">authenticationResult</th><th width="134.5">identityFraudstersResult</th><th width="98.5">score</th><th width="120.5">Suggestion</th><th>Description</th></tr></thead><tbody><tr><td><code>CREATED</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td><mark style="color:$info;background-color:$info;">Wait</mark></td><td>Transaction not finalized.</td></tr><tr><td><code>FAILED</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td><mark style="color:blue;background-color:blue;">Retry</mark></td><td>Error processing the request.</td></tr><tr><td><code>FINISHED</code></td><td><code>ERROR</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td><mark style="color:blue;background-color:blue;">Retry</mark></td><td>Error processing the result.</td></tr><tr><td><code>FINISHED</code></td><td><code>EXPIRED</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td><mark style="color:blue;background-color:blue;">Retry</mark></td><td>Process expired without journey completion.</td></tr><tr><td><code>FINISHED</code></td><td><code>OK</code></td><td><code>UNSPECIFIED</code></td><td>-</td><td>-</td><td>-</td><td><mark style="color:blue;background-color:blue;">Retry</mark></td><td>Error processing the Liveness Detection response.</td></tr><tr><td><code>FINISHED</code></td><td><code>OK</code></td><td><code>LIVE</code></td><td><code>UNSPECIFIED</code></td><td>-</td><td>-</td><td><mark style="color:blue;background-color:blue;">Retry</mark></td><td>Error processing the Identity Verification response.</td></tr><tr><td><code>FINISHED</code></td><td><code>INVALID_IDENTITY</code></td><td><code>LIVE</code></td><td><code>UNSPECIFIED</code></td><td>-</td><td>-</td><td><mark style="color:blue;background-color:blue;">Retry</mark></td><td>Error processing the discrepancy in the Risk Score.</td></tr><tr><td><code>FINISHED</code></td><td><code>OK</code></td><td><code>LIVE</code></td><td><code>INCONCLUSIVE</code></td><td><code>INCONCLUSIVE</code></td><td>score=0</td><td><mark style="color:blue;background-color:blue;">Retry</mark></td><td>We do not have sufficient evidence to determine if the face belongs to the CPF holder, nor a definitive behavioral response, and we lack sufficient evidence to determine probabilistic risk (Possible error in the CPF).</td></tr><tr><td><code>FINISHED</code></td><td><code>INVALID_IDENTITY</code></td><td><code>NOT_LIVE</code></td><td>-</td><td>-</td><td>-</td><td><mark style="color:red;background-color:$danger;">Reprove</mark></td><td>Liveness Detection declined.</td></tr><tr><td><code>FINISHED</code></td><td><code>INVALID_IDENTITY</code></td><td><code>LIVE</code></td><td><code>NEGATIVE</code></td><td>-</td><td>-</td><td><mark style="color:red;background-color:$danger;">Reprove</mark></td><td>Face does not belong to the CPF holder.</td></tr><tr><td><code>FINISHED</code></td><td><code>OK</code></td><td><code>LIVE</code></td><td><code>INCONCLUSIVE</code></td><td><code>YES</code></td><td>score&#x3C;0</td><td><mark style="color:red;background-color:$danger;">Reprove</mark></td><td>We do not have sufficient evidence to determine if the face belongs to the CPF holder, but the face has previous matches with other CPFs in our database (potential fraudster).</td></tr><tr><td><code>FINISHED</code></td><td><code>OK</code></td><td><code>LIVE</code></td><td><code>INCONCLUSIVE</code></td><td><code>INCONCLUSIVE</code></td><td>score&#x3C;0</td><td><mark style="color:red;background-color:$danger;">Reprove</mark></td><td>We do not have sufficient evidence to determine if the face belongs to the CPF holder, nor a definitive behavioral response, but we have evidence indicating a high probabilistic risk that the face does not belong to the CPF holder.</td></tr><tr><td><code>FINISHED</code></td><td><code>OK</code></td><td><code>LIVE</code></td><td><code>POSITIVE</code></td><td><code>YES</code></td><td>-</td><td><mark style="color:$warning;background-color:yellow;">Analysis</mark></td><td>The face belongs to the CPF holder, but the face has a history of fraudulent behavior in our database.</td></tr><tr><td><code>FINISHED</code></td><td><code>OK</code></td><td><code>LIVE</code></td><td><code>INCONCLUSIVE</code></td><td><code>YES</code></td><td>score>0</td><td><mark style="color:$warning;background-color:yellow;">Analysis</mark></td><td>We do not have sufficient evidence to determine if the face belongs to the CPF holder, the face has previous matches with other CPFs in our database (potential fraudster), but we have sufficient probabilistic evidence that the face belongs to the actual CPF holder.</td></tr><tr><td><code>FINISHED</code></td><td><code>OK</code></td><td><code>LIVE</code></td><td><code>INCONCLUSIVE</code></td><td><code>INCONCLUSIVE</code></td><td>score entre +10 e +49</td><td><mark style="color:$warning;background-color:yellow;">Analysis</mark></td><td>We do not have sufficient evidence to determine if the face belongs to the CPF holder, nor a definitive behavioral response, but we have sufficient probabilistic evidence that the face belongs to the actual CPF holder.</td></tr><tr><td><code>FINISHED</code></td><td><code>OK</code></td><td><code>LIVE</code></td><td><code>POSITIVE</code></td><td><code>INCONCLUSIVE</code></td><td>-</td><td><mark style="color:$success;background-color:green;">Approve</mark></td><td>The face belongs to the CPF holder and has no history of fraudulent behavior.</td></tr><tr><td><code>FINISHED</code></td><td><code>OK</code></td><td><code>LIVE</code></td><td><code>INCONCLUSIVE</code></td><td><code>INCONCLUSIVE</code></td><td>score>=+50</td><td><mark style="color:$success;background-color:green;">Approve</mark></td><td>We do not have sufficient evidence to determine if the face belongs to the CPF holder, nor a definitive behavioral response, but we have sufficient probabilistic evidence that the face belongs to the actual CPF holder.</td></tr></tbody></table>

## Flows with Liveness Detection and 1:1 Validation

<table data-full-width="true"><thead><tr><th width="124.5">state</th><th width="203.5">result</th><th width="170">livenessResult</th><th width="188">bioTokenEngineResult</th><th>Suggestion</th><th>Description</th></tr></thead><tbody><tr><td><code>CREATED</code></td><td>-</td><td>-</td><td>-</td><td><mark style="color:$info;background-color:$info;">Wait</mark></td><td>Transaction not finalized.</td></tr><tr><td><code>FAILED</code></td><td>-</td><td>-</td><td>-</td><td><mark style="color:blue;background-color:blue;">Retry</mark></td><td>Error processing the request.</td></tr><tr><td><code>FINISHED</code></td><td><code>ERROR</code></td><td>-</td><td>-</td><td><mark style="color:blue;background-color:blue;">Retry</mark></td><td>Error processing the result.</td></tr><tr><td><code>FINISHED</code></td><td><code>EXPIRED</code></td><td>-</td><td>-</td><td><mark style="color:blue;background-color:blue;">Retry</mark></td><td>Process expired without journey completion.</td></tr><tr><td><code>FINISHED</code></td><td><code>OK</code></td><td><code>UNSPECIFIED</code></td><td>-</td><td><mark style="color:blue;background-color:blue;">Retry</mark></td><td>Error processing the Liveness Detection response.</td></tr><tr><td><code>FINISHED</code></td><td><code>OK</code></td><td><code>LIVE</code></td><td><code>UNSPECIFIED</code></td><td><mark style="color:blue;background-color:blue;">Retry</mark></td><td>Error processing the 1:1 Validation response.</td></tr><tr><td><code>FINISHED</code></td><td><code>INVALID_IDENTITY</code></td><td><code>NOT_LIVE</code></td><td>-</td><td><mark style="color:red;background-color:$danger;">Reprove</mark></td><td>Liveness Detection declined.</td></tr><tr><td><code>FINISHED</code></td><td><code>INVALID_IDENTITY</code></td><td><code>LIVE</code></td><td><code>NEGATIVE</code></td><td><mark style="color:red;background-color:$danger;">Reprove</mark></td><td>Face is different from the reference process.</td></tr><tr><td><code>FINISHED</code></td><td><code>OK</code></td><td><code>LIVE</code></td><td><code>POSITIVE</code></td><td><mark style="color:$success;background-color:green;">Approve</mark></td><td>Face is the same as the one used in the reference process.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://devcenter.unico.io/unico-idcloud/by-unico-integration/by-unico-api/response-scenarios.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
