# Oz API Lite (Deprecated)

{% hint style="danger" %}
API Lite is deprecated and no longer maintained. Its functionality has been added to API full: see [Instant API](/oz-knowledge/guides/developer-guide/api/oz-api/instant-api-non-persistent-mode.md).
{% endhint %}

Oz API Lite is the lightweight yet powerful version of Oz API. The Lite version is less resource-demanding, more productive, and easier to work with. The analyses are made within the API Lite image.  As Oz API Lite doesn't include any additional services like statistics or data storage, this version is the one to use when you need a high performance.

#### Examples of methods

To check the Liveness processor, [call](/oz-knowledge/guides/developer-guide/api/oz-api-lite/api-methods.md#health-checking-the-status-of-liveness-processor) `GET /v1/face/liveness/health`.

To check the Biometry processor, [call](/oz-knowledge/guides/developer-guide/api/oz-api-lite/api-methods.md#health-biometric-processor-status-check) `GET /v1/face/pattern/health`.

To perform the liveness check for an image, [call](/oz-knowledge/guides/developer-guide/api/oz-api-lite/api-methods.md#detect-presentation-attack-detection) `POST /v1/face/liveness/detect` (it takes an image as an input and displays the evaluation of spoofing attack chance in this image)

To compare two faces in two images, [call](/oz-knowledge/guides/developer-guide/api/oz-api-lite/api-methods.md#extract_and_compare-extracting-and-comparison-of-templates-derived-from-two-images) `POST /v1/face/pattern/extract_and_compare` (it takes two images as an input, derives the biometry templates from these images, and compares them).&#x20;

To compare an image with a bunch of images, [call](/oz-knowledge/guides/developer-guide/api/oz-api-lite/api-methods.md#extract_and_compare_n-1-n-template-extraction-and-comparison) `POST /v1/face/pattern/extract_and_compare_n`.

For the full list of Oz API Lite methods, please refer to [API Methods](/oz-knowledge/guides/developer-guide/api/oz-api-lite/api-methods.md).


---

# 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://doc.ozforensics.com/oz-knowledge/guides/developer-guide/api/oz-api-lite.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.
