# falha\_api

O evento **falha\_api** tem o objetivo de registrar toda API que der erro ao ser acionada. Ele é disparado na aba Falha API e salva o *`endpoint`* da api e o `status_code`do *`response`* que ocasionaram a falha.

* **Identificador:** `falha_api`
* **Label:** `Total de retornos de API com erro`
* **Label extra1:** `Endpoint`
* **Label extra2:** `Status code`

{% hint style="info" %}
Aprenda mais sobre o [monitoramento de APIs](/monitor/monitoramento-de-apis.md)&#x20;
{% endhint %}


---

# 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.altu.d1.cx/boas-praticas/eventos/eventos-padroes/falha_api.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.
