Technical Details
Key Endpoints
Endpoint: POST /sanitize
Purpose: Redacts sensitive information based on context and domain.
Request Parameters:
Response Parameters:
Endpoint: POST /desanitize
Purpose: Reconstructs original text from sanitized input using obfuscation maps.
Request Parameters:
Response Parameters:
curl -X POST "https://wald-ai-endpoint.com/sanitize" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer WALD_API_KEY" \
-d '{
"text": "The patient John Doe, 65, was diagnosed with hypertension.",
"domain": "Health",
"conversation_id": "conversation_123",
"encryption_key": "encryption_key_123"
}'
{
"is_sensitive": true,
"conversation_id": "conversation_123",
"sanitization_result": {
"status": "Success",
"reason": ""
},
"sanitized_text": "The patient [REDACTED PATIENT], [REDACTED AGE], was diagnosed with hypertension."
}
Write to us at questions@wald.ai with questions or feedback.