# Advanced API features

{% hint style="info" %}
Please note that the term *dialog state* refers to the same thing as *block*, in the context of development tools.
{% endhint %}

## API execution logs

In your[ **Execution logs**](/navigation/history/execution-logs.md) tab, you can see an overview of all errors that occurred with the API's you have configured in the bot. If you click on an error you can see additional request and response information about the event that triggered the error.

## API SSL settings

In the `Settings` menu under the `API` tab you can add encryption to the requests sent by Chatlayer.ai through the API plugin.&#x20;

Click on `+ Setting` to add a new encryption setting. Fill in the required fields. You can choose between the SSL and HMAC encryption types.

<figure><img src="/files/1N6zosZAqg8qIacS2nsT" alt=""><figcaption></figcaption></figure>

After creating the API security settings, you can use these settings in an [API widget](/buildabot/flow-logic/dialog-state/action-bot-dialog.md#api)

<figure><img src="/files/LDFDnz6xuobLa9shxpsS" 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.chatlayer.ai/integrateandcode/custom-back-end-integrations/advanced-api-integrations.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.
