> For the complete documentation index, see [llms.txt](https://doc.ozforensics.com/oz-knowledge/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/oz-knowledge/pt-br/guias/developer-guide/api/oz-api-lite.md).

# Oz API Lite (Descontinuado)

{% hint style="danger" %}
API Lite está descontinuada e não é mais mantida. Sua funcionalidade foi adicionada à API full: veja [Instant API](/oz-knowledge/oz-knowledge/pt-br/guias/developer-guide/api/oz-api/instant-api-non-persistent-mode.md).
{% endhint %}

Oz API Lite é a versão leve, porém poderosa, do Oz API. A versão Lite consome menos recursos, é mais produtiva e mais fácil de usar. As análises são feitas dentro da imagem API Lite. Como o Oz API Lite não inclui serviços adicionais como estatísticas ou armazenamento de dados, esta versão é a indicada quando for necessário alto desempenho.

#### Exemplos de métodos

Para verificar o processador Liveness, [chame](/oz-knowledge/oz-knowledge/pt-br/guias/developer-guide/api/oz-api-lite/api-methods.md#health-checking-the-status-of-liveness-processor) `GET /v1/face/liveness/health`.

Para verificar o processador BIOMETRY, [chame](/oz-knowledge/oz-knowledge/pt-br/guias/developer-guide/api/oz-api-lite/api-methods.md#health-biometric-processor-status-check) `GET /v1/face/pattern/health`.

Para realizar a verificação de Liveness em uma imagem, [chame](/oz-knowledge/oz-knowledge/pt-br/guias/developer-guide/api/oz-api-lite/api-methods.md#detect-presentation-attack-detection) `POST /v1/face/liveness/detect` (ele recebe uma imagem como entrada e exibe a avaliação da probabilidade de ataque de spoofing nesta imagem)

Para comparar dois rostos em duas imagens, [chame](/oz-knowledge/oz-knowledge/pt-br/guias/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` (ele recebe duas imagens como entrada, deriva os templates de BIOMETRY dessas imagens e os compara).&#x20;

Para comparar uma imagem com um conjunto de imagens, [chame](/oz-knowledge/oz-knowledge/pt-br/guias/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`.

Para a lista completa dos métodos do Oz API Lite, consulte [Métodos da API](/oz-knowledge/oz-knowledge/pt-br/guias/developer-guide/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 dynamically by asking a question.

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

```
GET https://doc.ozforensics.com/oz-knowledge/oz-knowledge/pt-br/guias/developer-guide/api/oz-api-lite.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
