v51

OpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-01308532588.1 KB
Retention Rules

Get retention rule by id

Get a specific retention rule by id

get/v1/private/retention/rules/{ruleId}

Path parameters

ruleIdstring uuid required

Response

Retention rule

idstring uuid
workspace_idstring
project_idstring uuid
level'organization' | 'workspace' | 'project'

Computed from projectId and organizationLevel

retention'short_14d' | 'base_60d' | 'extended_400d' | 'unlimited' required
apply_to_pastboolean
enabledboolean
created_bystring
created_atstring date-time
last_updated_bystring
last_updated_atstring date-time
catch_up_cursorstring uuid

Current position of historical data cleanup

catch_up_doneboolean

Whether historical catch-up is complete