# Liveness

The Liveness step is designed to verify the presence of a live person during the verification process.

* Add `Liveness Check` step into the flow canvas at the appropriate position in the flow.
* Click on `Liveness Check` to open its configuration options:

<table data-header-hidden><thead><tr><th width="246.26953125"></th><th></th></tr></thead><tbody><tr><td><strong>Number of Attempts</strong></td><td>Define the maximum number of attempts allowed for the liveness check. The limit is set to 5 attempts.</td></tr><tr><td><strong>One-shot Liveness</strong></td><td>A quick, single-step verification process.</td></tr><tr><td><strong>3D Liveness</strong></td><td>Advanced verification using 3D imaging technology.</td></tr><tr><td><strong>Custom 3D Liveness</strong></td><td>Combine various actions (e.g., eye movement, smile) for a more robust check.</td></tr><tr><td><strong>Style Customization</strong></td><td>Customize the UI to match your brand's look and feel.</td></tr><tr><td><strong>Verification Validity Period</strong> </td><td>This setting defines how long a successful verification result remains valid. Enforce re-verification after a defined time window for security or compliance needs.</td></tr></tbody></table>

<figure><img src="/files/n3CiWykQtkHDroQ44Fpn" alt=""><figcaption></figcaption></figure>


---

# 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://docs.allpass.ai/build-verification-flows/verification-steps/liveness.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.
