Recover deleted files on iCloud.com
On iCloud.com, you can recover files deleted from both iCloud Drive and other apps. 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).
Tap Recently Deleted in the sidebar.
If you don’t see the sidebar, tap in the top-left corner.
Do one of the following:
Recover some items: Tap , tap the items you want to recover, then tap Recover.
Recover all items: Tap Recover All at the bottom of the screen.
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.