Hello,
No, we don’t provide an API for this, but Toad does support command line execution. That means you could call a specific function in Toad via the Automation Designer feature (read the Help) and perform a specific task.
Take a look at the Toad Help on Command Line Syntax and Execute Actions from the Command Line and let me know if this helps.
Regards,
John