---
title: "Restore redacted text"
method: POST
path: "/v2/pii/restore"
---

# Restore redacted text

`POST /v2/pii/restore`

Reverses a redaction, substituting placeholders back to their original values using the mapping returned by Redact.

## Request body

- RestoreRequest
  - `redacted_text` string
  - `mappings` object — Placeholder-to-original mapping produced by Redact.

## Response `200`

OK

- RestoreResponse
  - `original_text` string

---

[API](https://skmtc.net/orq-ai/apis/orq-ai-api.md) · [All operations](https://skmtc.net/orq-ai/apis/orq-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/orq-ai/orq-ai-api/versions/1072e5ba28ab/schema)
