Restore redacted text
Reverses a redaction, substituting placeholders back to their original values using the mapping returned by Redact.
POST
Restore redacted text
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Orq MCP is live: Use natural language to interrogate traces, spot regressions, and experiment your way to optimal AI configurations. Available in Claude Desktop, Claude Code, Cursor, and more. Start now →
Reverses a redaction, substituting placeholders back to their original values using the mapping returned by Redact.
curl --request POST \
--url https://api.orq.ai/v2/pii/restore \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"redacted_text": "<string>",
"mappings": {}
}
'{
"original_text": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
Was this page helpful?
curl --request POST \
--url https://api.orq.ai/v2/pii/restore \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"redacted_text": "<string>",
"mappings": {}
}
'{
"original_text": "<string>"
}