Skip to main content
PUT
Set the workspace retention default

Authorizations

Authorization
string
header
required

API key with the vk_ prefix. Create one from the dashboard.

Body

application/json
model_retention_days
integer<int32>
required

0..=3650. 0 = purge eligible items on the next nightly sweep.

Response

The stored default

The workspace default retention window.

object
string
required

Always "workspace_retention".

model_retention_days
integer<int32>
required

Days unprotected model versions and unreferenced dataset snapshots are kept (default 90; 0 = zero-data-retention opt-in).