Can I set data retention for a whole organization?
No. Data retention is configured per project. To apply the same policy across an organization, set it on each project.
Set it in Project Settings → General → Data Retention. The value is a number of days, with a minimum of 3. Set it to 0 to keep data indefinitely. You can also set it via the Organization Management API. Changing it requires the Owner or Admin role on the project. Deletion happens asynchronously in the background.
Configurable data retention is available on Langfuse Cloud Pro, Teams add-on, and Enterprise plans, and on Enterprise self-hosted. On self-hosted Langfuse you can also set a retention for the initial project with LANGFUSE_INIT_PROJECT_RETENTION.
See Data retention for what retention deletes, and Data access vs. data retention for how retention relates to your plan's data access window.
Last updated on