---
title: "POST /api/files/restore"
method: POST
path: "/api/files/restore"
tags: ["Ai.Tlbx.MidTerm.OpenApi"]
---

# POST /api/files/restore

`POST /api/files/restore`

## Request

- The document declares no server URL.
- Auth: none declared

## Query parameters

- `sessionId` string, required

## Request body

- FileRestoreRequest
  - `recoveryId` string, required
  - `conflict` string, required

## Response `200`

OK

- FileOperationItem
  - `sourcePath` string, nullable, required
  - `path` string, nullable, required
  - `success` boolean, required
  - `code` string, nullable, required
  - `message` string, nullable, required
  - `recoveryId` string, nullable, required

## Other responses

- `409`: Conflict

## Changes

- **2026-10-11** `609a77a0474b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tlbx-ai/apis/tlbx-api/changes/api/files/restore/post.md)

---

[API](https://skmtc.dev/tlbx-ai/apis/tlbx-api.md) - [All operations](https://skmtc.dev/tlbx-ai/apis/tlbx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tlbx-ai/apis/tlbx-api/revisions/3af271140994?raw)
