Skip to content

RetentionPreview

← All HTTP schemas

A preview of “how many rows would be deleted if run now” for a target.

Shape: object

Property Required Type Description Rules
target yes string The previewed target.
maxAgeDays no integer (int32) null if no policy was found (nothing would be deleted). pattern `^-?(?:0\
enabled no boolean Whether the policy is enabled.
cutoff no string (date-time) The computed cutoff date (UTC). null if there is no policy.
matchingRows no integer (int64) The number of rows currently older than the cutoff date. pattern `^-?(?:0\