---
title: "Restore documents"
method: POST
path: "/api/projects/{projectId}/documents/restore"
tags: ["Document"]
---

# Restore documents

`POST /api/projects/{projectId}/documents/restore`

Restore soft-deleted documents from trash to a specified location.

## Path parameters

- `projectId` string, uuid, required

## Request body

- object
  - `ids` string[], required — List of document IDs to restore
  - `path` string — Target path where to place restored documents

## Response `200`

Documents restored successfully

---

[API](https://skmtc.dev/gorules/apis/gorules-agent-api.md) · [All operations](https://skmtc.dev/gorules/apis/gorules-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gorules/gorules-agent-api/revisions/52c0773fcd80/schema)
