Sorry to hear, it's happened to all of us, and it's a tough tough thing when it happens. A lot of the times it happens it forces users, like myself who it has also happened to, to get into a habit of saving file not only with the Save command but also creating versions, using Save As and naming adding extra to the file name like FileName_v1.indd and FileName_v2 etc.
I've certainly got into a habit of at least every hour to do this.
With that unpleasant reality out of the way, just want to clarify some things.
Hard to know - InDesign has auto recovery if you set that to between 1-60 minutes, it creates auto recovery data for when indesign crashes.
Only InDesign Cloud Documents an autosave - I believe.
Were you working on the Cloud Document or working locally on your hard drive?
What is your OS and what version of the OS and version of InDesign etc.?
To cut to the chase
If you're on Mac - then do you have Time Machine running?
If not I'd strongly recommend you set this up.
If you're on Windows hopefully the Restore Previous Version is operating on the folders you're working on
Found this handy guide
https://its.uiowa.edu/services/shared-drive-filesiowa/recover-previous-version-file-or-folder-windows
--------------
Some other things
Check the Recovery Folder Manually
On Mac: ~/Library/Caches/Adobe InDesign/Version [XX.0]/InDesign Recovery
On Windows: C:\Users\[Your User]\AppData\Local\Adobe\InDesign\Version [XX.0]\en_US\Caches\InDesign Recovery
If document was open when InDesign crashed, there’s a chance InDesign stored a recovery version there.
-------------------
Cloud Backup Services
Dropbox, OneDrive, or Google Drive, might be able to restore a previous version.
------------------------
Check Scratch Disks (Mac only)
Sometimes, temporary files get stored in private/var/folders. Using Terminal, search for missing files (ls -lt /private/var/folders).