GET
/v1/private/retention/rulesFind retention rulesList retention rules for the caller's workspace. Defaults to active only.
Parameters
pageinteger · int32querysizeinteger · int32queryinclude_inactivebooleanqueryResponses
objectRetentionRulePage_Public
contentarray of objectShow child attributes
Show array items
apply_to_pastbooleancatch_up_cursorstring · uuidCurrent position of historical data cleanup
catch_up_donebooleanWhether historical catch-up is complete
created_atstring · date-timecreated_bystringenabledbooleanidstring · uuidlast_updated_atstring · date-timelast_updated_bystringlevelstringComputed from projectId and organizationLevel
project_idstring · uuidretentionstringrequiredworkspace_idstringpageinteger · int32sizeinteger · int32totalinteger · int64{
"content": [
{
"apply_to_past": true,
"catch_up_cursor": "00000000-0000-0000-0000-000000000000",
"catch_up_done": true,
"created_at": "2026-06-09T00:00:00Z",
"created_by": "string",
"enabled": true,
"id": "00000000-0000-0000-0000-000000000000",
"last_updated_at": "2026-06-09T00:00:00Z",
"last_updated_by": "string",
"level": "organization",
"project_id": "00000000-0000-0000-0000-000000000000",
"retention": "base_60d",
"workspace_id": "string"
}
],
"page": 0,
"size": 0,
"total": 0
}