# RetentionPreview

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/http-api/schemas/retentionpreview/
> Summary: OpenAPI request or response schema for RetentionPreview, including required fields, defaults, constraints, and linked nested types.

[← All HTTP schemas](/http-api/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\\|[1-9]\d*)$` |
| `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\\|[1-9]\d*)$` |
