Anki cards overwritten during sync — need help recovering previous collection

I accidentally overwrote my Anki collection during synchronization. I was trying to add new cards and an option appeared for synchronization. After syncing, my current collection was replaced with the cards from my laptop.

I would like to recover the previous version of my cards (the collection that existed before the sync).

I have checked AnkiWeb, but I’m not sure if the previous collection is still available. Could someone advise me on the best way to restore my previous cards?

Was this in on another device, in the app? You can restore from the automatic backup made immediately before that mis-sync – Restoring an Automatic Backup (Recovering from Data Loss) - Anki FAQs .

Is the version of your collection you had on that device (before the mis-sync) the most current and updated version – or are there updates on multiple devices that you’re trying to merge together?