> For the complete documentation index, see [llms.txt](https://doc.ozforensics.com/oz-knowledge-ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.ozforensics.com/oz-knowledge-ru/rukovodstva/rukovodstvo-razrabotchika/api/oz-api-lite.md).

# Oz API Lite (поддержка прекращена)

{% hint style="danger" %}
С выходом API 6.0 мы прекращаем развивать и поддерживать API Lite.
{% endhint %}

Oz API Lite — это [облегченная](/oz-knowledge-ru/obshaya-informaciya/opisanie-sistemy-oz-forensics/oz-platform-lite.md) версия Oz API, менее требовательная к ресурсам, более простая и производительная. Повышение производительности достигается благодаря отсутствию дополнительных функций (таких, как хранение данных или сбор статистики), а также тому, что анализы запускаются на уровне образа API Lite.

#### Отличия архитектуры Lite от типовой

* Только один компонент, который нужно кластеризовать.
* Нет хранилища данных — более высокий уровень защиты информации.
* Более простая архитектура — более короткие сроки реализации проекта.

#### **Примеры методов**

Для проверки корректности работы процессора Liveness используйте [метод](/oz-knowledge-ru/rukovodstva/rukovodstvo-razrabotchika/api/oz-api-lite/api-methods.md#health-proverka-sostoyaniya-biometricheskogo-processora-liveness) `GET /v1/face/liveness/health`.

Для проверки корректности работы процессора Biometry используйте [метод](/oz-knowledge-ru/rukovodstva/rukovodstvo-razrabotchika/api/oz-api-lite/api-methods.md#health-proverka-sostoyaniya-biometricheskogo-processora-biometry) `GET /v1/face/pattern/health`.

Чтобы выполнить liveness-проверку лица на изображении, вызовите [метод](/oz-knowledge-ru/rukovodstva/rukovodstvo-razrabotchika/api/oz-api-lite/api-methods.md#detect-obnaruzhenie-prezentacionnykh-atak) `POST /v1/face/liveness/detect` (на вход принимает изображение, на выходе выводит оценку присутствия презентационной атаки на этом изображении).

Для сравнения лиц на двух изображениях вызовите [метод](/oz-knowledge-ru/rukovodstva/rukovodstvo-razrabotchika/api/oz-api-lite/api-methods.md#extract_and_compare-izvlechenie-iz-dvukh-izobrazhenii-i-sravnenie-poluchennykh-shablonov) `POST /v1/face/pattern/extract_and_compare` (принимает два изображения, извлекает из них биометрические шаблоны и сравнивает эти шаблоны). Также возможно сравнение одного изображения с несколькими с помощью [метода](/oz-knowledge-ru/rukovodstva/rukovodstvo-razrabotchika/api/oz-api-lite/api-methods.md#extract_and_compare_n-izvlechenie-i-sravnenie-poluchennykh-shablonov-1-n) `POST /v1/face/pattern/extract_and_compare_n`.

Полный список методов Oz API Lite с детальной информацией по ним вы можете найти [здесь](/oz-knowledge-ru/rukovodstva/rukovodstvo-razrabotchika/api/oz-api-lite/api-methods.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.ozforensics.com/oz-knowledge-ru/rukovodstva/rukovodstvo-razrabotchika/api/oz-api-lite.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
