Update Data Retention
Set a workspace’s data-retention window and erasure scope.
Expired calls are erased by a nightly job, so a change takes effect on its next run. Erasure is irreversible: an erased call cannot be restored. Simulation calls are never erased.
Authorizations
Body
Request schema for updating a workspace's data-retention policy.
Both fields are optional and support partial updates: a field omitted from the body is
left unchanged, while a field sent as null clears that setting.
What is destroyed when a call expires. transcript_recording removes the transcript, recording and log URLs; caller_data also removes the caller's identity and every free-text field derived from the conversation; full deletes the call record outright. Required whenever retention_period_days is set. Omit the field to leave the current scope unchanged.
transcript_recording, caller_data, full, null Response
Successful Response
Response schema for the data-retention settings endpoints.