I recently found myself in a situation where I needed to recover a recently deleted file. Usually, this would be no problem, I have a fairly comprehensive backup strategy. However, I recently suffered a failure of my Time Machine backup causing me to lose my file history and the file was also unavailable on Backblaze and Clone backups since I had deleted it since my most recent backups. I found myself in a tight spot.
However, this particular file was written in Byword and saved for some time to my iCloud file. Dan Moren came to the rescue with this post from last year on Recovering Deleted iCloud Drive files. The trick is, it has to be done from the Settings Menu in the iCloud web interface.
Thanks, Dan for saving the day!