Skip to main content
PUT
Set Project Retention

Headers

authorization
string | null

Path Parameters

project_id
string<uuid>
required

Body

application/json

How long the project keeps each kind of call data (#316, ADR-0024). Unset keeps everything, as before retention existed. An agent's retention overrides any of them for its calls. A PUT replaces all three, so a field left out goes back to keeping for good.

recordings_days
integer | null

Days a call keeps its recording (the audio file in object storage, and the carrier's copy if it kept one), counted from the call's end. Null on a project keeps it for good; null on an agent takes the project's

Required range: 1 <= x <= 36500
transcripts_days
integer | null

Days a call keeps its transcript: what was said, the tool calls made from it, and the post-call analysis and takeaways, counted from the call's end. Null on a project keeps it for good; null on an agent takes the project's

Required range: 1 <= x <= 36500
events_days
integer | null

Days a call keeps its other events (the rest of the call's event log), counted from the call's end. Null on a project keeps it for good; null on an agent takes the project's

Required range: 1 <= x <= 36500

Response

Successful Response

The response is of type Response Set Project Retention V1 Projects Project Id Retention Put · object.