Redact PII
Replaces detected PII with placeholders and returns the reverse mapping needed to restore the original text.
POST
Redact PII
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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 →
Replaces detected PII with placeholders and returns the reverse mapping needed to restore the original text.
curl --request POST \
--url https://api.orq.ai/v2/pii/redact \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"text": "<string>",
"language": "<string>",
"threshold": 123
}
'{
"redacted_text": "<string>",
"mappings": {}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?
curl --request POST \
--url https://api.orq.ai/v2/pii/redact \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"text": "<string>",
"language": "<string>",
"threshold": 123
}
'{
"redacted_text": "<string>",
"mappings": {}
}