You want to access an API and handle errors returned from it properly.
Cognigy.AI will return the full response from the API within the Input or Context objects, depending on what you configured. The default is
Within this object you will see the exact response from your API, including all error information. Example:
"description": "Internal Server Error"
You could now branch your Flow depending on the result, e.g. input.httprequest.error
PH - 20201227