---
title: "Patch Recording Retention"
method: PATCH
path: "/api/workspace/recording-retention/settings"
tags: ["workspace-recording-retention", "workspace-recording-retention"]
---

# Patch Recording Retention

`PATCH /api/workspace/recording-retention/settings`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/workspace/recording-retention/settings`
- Auth: none declared

Set how long call recordings are kept. Setting N > 0 means the
periodic sweeper PERMANENTLY deletes recordings of calls older than
N days (transcripts and analysis stay). The UI carries the same
warning next to the field.

## Request body

- RecordingRetentionPatch
  - `voice_recording_retention_days` integer, nullable: 0 = keep recordings forever
  - `voice_record_operator_calls` boolean, nullable

## Response `200`

Successful Response

- RecordingRetentionOut
  - `voice_recording_retention_days` integer, required
  - `voice_record_operator_calls` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
