Set a lineage's retention window
Override the workspace default for this lineage. retention_days 0 opts the lineage into zero-data-retention (eligible versions purged by the next nightly sweep); null clears the override.
Authorizations
API key with the vk_ prefix. Create one from the dashboard.
Path Parameters
Lineage name
Body
Days to keep unprotected versions (0..=3650; 0 = zero-data-retention). null or omitted clears the override so the workspace default applies.
Response
The updated window
A lineage's retention window.
Always "model_retention".
Lineage name.
The workspace default (workspace_settings.model_retention_days).
What the sweeper actually applies to this lineage: the override if set, else the workspace default. 0 = eligible versions are purged by the next nightly sweep.
The lineage override in days; null = the workspace default applies.

