Recover deleted files on iCloud.com
On iCloud.com, you can recover files deleted from both iCloud Drive and other apps within the last 30 days. However, you can’t recover or restore files you permanently remove.
Go to icloud.com/iclouddrive, then sign in to your Apple Account (if necessary).
Click Recently Deleted in the sidebar.
If you don’t see the sidebar, click .
Click Recover All, or select each file you want to recover, then click Recover.
Look for your recovered files in the folders they were in when you deleted them. For example, if a file was in the Pages folder when you deleted it, look for the recovered file in the Pages folder.