The Redaction API allows you to programmatically redact sensitive content from chat messages and sessions. This is essential for compliance with data protection regulations like GDPR, CCPA, and HIPAA, enabling you to remove personally identifiable information (PII) and other sensitive data when required.

Overview

Redaction in our system enables:
  • Message-Level Redaction - Redact specific messages by message ID, including any attached images or files
  • Session-Level Redaction - Redact all messages in an entire chat session, including all attachments
  • Compliance Support - Meet data protection requirements by permanently removing sensitive content
  • Audit Trail - All redaction actions are logged for compliance and security purposes
  • Attachment Handling - Automatically handles redaction of images and file attachments

Security & Compliance

Redaction is permanent and irreversible. Once content is redacted, it cannot be recovered. The original content is replaced with “[REDACTED]” and all associated files are marked as deleted.
  • All redaction actions are logged in audit trails without exposing the original content
  • File attachments are marked as deleted and removed from storage
  • Redaction events are tracked with timestamps, user information, and reasons
  • Original content is never stored in audit logs for security

Available Endpoints