# 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**](https://docs.chatlayer.ai/navigation/history/execution-logs) 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="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FlWaL6TyQPIA2Iks2Kxf2%2Fimage.png?alt=media&#x26;token=0599a75d-b67b-4bce-940f-6bd657efa200" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FWgJz6Sisp4KDGSpIGieL%2Fimage.png?alt=media&#x26;token=d9753d19-cecb-40ac-9d9b-1d9a955e68f0" alt=""><figcaption></figcaption></figure>
