GET /org/recently-deleted lists the tests and practice spaces deleted in the last seven days — each with who deleted it and when — and POST /org/recently-deleted/{id}/restore brings one back, along with the people it was shared with. Handy for building your own trash-and-restore flow, or an undo step after a bulk cleanup. Restoring a test also restores its sessions.
The list call needs an admin or owner token with orgs:read; restoring needs an admin or owner token with orgs:write. The workspace also needs audit logs, part of our plan for organizations. Anything that isn't a restorable test or practice space within the window returns a 404.