A content item was deleted from its modelās collection. Only a couple of us have access to the UI, and neither of us deleted it. Is there a way to find history of the collection (as opposed to history of an individual content item) or some other way to figure out how this happened?
Thankfully itās in our development environment, so nothing is broken. But the item should be there. Weād like to figure out what happened.
Iām really sorry to hear that Could it have been an accidental deletion via API, perhapsā¦?
Unfortunately, audit logs are an enterprise-only feature (and arenāt retrospective in any case, so wouldnāt help you here even if you enabled it now). I am not sure if we have any other API logs that could help in this case, but could you please PM me or email support@datocms.com with some details so I can ask the devs to look for it? (i.e. which model, record ID/URL, etc. do you think vanished, the timeframe within which it disappeared, etc.)
We have not heard of any other incidents of this happening from our other customers.
Also, if you want to try to create your own audit log, we do have āon record delete/updateā webhooks that you can use to send events to some external logging system.