• We are replacing the opt_out_sensitive_data_storage boolean with a new, granular setting data_storage_setting to manage how Retell stores sensitive data (transcripts, recordings, logs).
    • New field: data_storage_setting (enum)
      • Allowed values:
        • everything — store all artifacts.
        • everything_except_pii — store artifacts with PII excluded when possible.
        • basic_attributes_only — store only metadata/attributes; no transcripts/recordings/logs.
    • Impacted APIs: POST /create-agent, GET /get-agent, PATCH /update-agent.
    • Backward compatibility & mapping:
      • opt_out_sensitive_data_storage: truedata_storage_setting: "basic_attributes_only".
      • opt_out_sensitive_data_storage: falsedata_storage_setting: "everything".
    • During the deprecation window, requests may still include opt_out_sensitive_data_storage, but clients should migrate to data_storage_setting. Future versions will reject the old field.