RetentionPolicy
object
kindrequired- RetentionKind
labelrequired- string
descriptionrequired- string
unitrequired- "days" | "months"
min_daysrequired- integer
max_daysrequired- integer
keep_daysrequired- integer
enabledrequired- boolean
last_run_atrequired- DateTime or null
Instant in ISO 8601, e.g. 2026-10-03T04:30:00.000Z.
last_runrequired- map of any or null
updated_byrequired- string or null
updated_atrequired- DateTime or null
Instant in ISO 8601, e.g. 2026-10-03T04:30:00.000Z.
{
"kind": "invalid_leads",
"label": "string",
"description": "string",
"unit": "days",
"min_days": 0,
"max_days": 0,
"keep_days": 0,
"enabled": true,
"last_run_at": "2026-10-06T05:30:00.000Z",
"last_run": {},
"updated_by": "string",
"updated_at": "2026-10-06T05:30:00.000Z"
}
