Restore items from the trash
zotero_restore_itemsRestore trashed Zotero items to their original collections, undoing a recent delete. Works only while items remain in the trash before permanent purging.
Instructions
Bring items back out of Zotero's trash, undoing a non-permanent zotero_delete_items. The items return to the collections they were in. Only works while they are still in the trash: nothing can recover an item that was erased permanently or that Zotero has already purged after its 30-day retention.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | No | Group library ID. Omit for the personal library ("My Library"), which is what almost every request wants. Group IDs come from zotero_list_libraries. | |
| itemKeys | Yes | Keys of the items to restore, at most 50 per call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notFound | Yes | ||
| restored | Yes | ||
| wereNotInTrash | Yes |