DOC (Qoqon) icon

DOC (Qoqon)

Work with DOC: files, folders, semantic search, embeddings

Restore from Trash

AI-generated

Summary

Restore selected files and folders from the trash

Inputs

  • restoreFileIds — Comma-separated list of file IDs to restore
  • restoreFolderIds — Comma-separated list of folder IDs to restore

Output shape

object

Returns the raw API response from /api/v1/trash/restore; typically a JSON object indicating success or containing details of the restored items.

Examples

Example 1: Restore a specific document and its containing folder

restoreFileIds=98765, restoreFolderIds=12345

Links

Discussion