PII Redaction API parameter

A new redact_pii parameter has been added to the Agent endpoints, allowing you to enable PII (Personally Identifiable Information) redaction via the API.

Updated endpoints:

EndpointTitle
POST /assistantsCreate an agent
PUT /assistants/{model_id}Update an agent

When redact_pii is set to true, sensitive data is automatically removed from transcripts, post-call webhook payloads, and internal logs. Redacted data types include:

  • Credit card numbers, expiration dates, and CVVs
  • Social security numbers
  • Names, email addresses, phone numbers, and physical addresses

See Security & Compliance for more information.