Yes, Phoenix supports retention policies for projects. You can configure automatic trace deletion based on time (e.g., delete traces older than X days) or trace count, either globally or per project. When all traces are deleted, the project remains but is empty; Phoenix does not automatically delete the project itself when it becomes empty鈥攎anual deletion is required if you want to remove the project entirely. Retention policies are managed via the UI, environment variables, or API, and cleanup runs on a scheduled basis (typically weekly) <https://arize.com/docs/phoenix/settings/data-retention|source>, <https://arize.com/docs/phoenix/self-hosting/misc/frequently-asked-questions|source>, <https://arize.com/docs/phoenix/settings/data-retention#ask-assistant-code-block-button|source>.
Would you like more detail on how to configure or manage these retention policies?
Sources:
- <https://arize.com/docs/phoenix/settings/data-retention|https://arize.com/docs/phoenix/settings/data-retention>
- <https://arize.com/docs/phoenix/self-hosting/misc/frequently-asked-questions|https://arize.com/docs/phoenix/self-hosting/misc/frequently-asked-questions>
- <https://arize.com/docs/phoenix/settings/data-retention#ask-assistant-code-block-button|https://arize.com/docs/phoenix/settings/data-retention#ask-assistant-code-block-button>