restore_trashed_document
Restore a single document from trash to the active library using its ID. Use batch restore when you need to recover multiple documents at once.
Instructions
Return one document from trash to the active library; use batch_documents(action=restore) for multiple explicit IDs. This restores the document itself, unlike restore_document_version which changes content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | UUID returned by the corresponding list or read operation. | |
| workspaceId | No | Workspace UUID from list_workspace_structure(kind=workspaces). Required for ambiguous creates and structure changes; omit to search all granted scopes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes |