Check access to API to handle fallback solution

Hello,

I’m using Unity with ConvAI. On the beginning of my application, I want to check if I’ve access to the convai api, and if not, to handle a custom fallback solution that don’t use AI.

Do you know if there is a method I can use or something like that ? Without using my quota of interaction by preference.

A few weeks ago, I simply checked if I had access to the convai website with a UnityWebRequest, but I’ve already encountered the case where the api was accessible but it was not the case with the website.

Thanks

Hello,

At the moment, we recommend handling this on your application side by implementing retry, timeout, and circuit breaker logic.

For example, if the API request fails or times out, your application can trigger your custom fallback flow instead of continuing with the AI interaction.

You can also subscribe to updates on our status page to monitor service availability:

https://statuspage.convai.com/