No, we are sorry, at the moment there is no API.
We will add this to our development plans for future improvements. Thank you for your request!
However, please remember that running Miqobot unattended for extended amount of time is not recommended in the first place. No matter how many failsafes we implement, Miqobot will always remain a tool to help skipping the boring parts of the game, but not a replacement for playing it completely.
You can find additional information in our guide on Technical and Social Safety.
If you think that certain Miqobot algorithms have to be adjusted to reduce failures, please report the issues you discover to our Tech Support: https://miqobot.com/#support