# Search History and Pipeline Log Retention in Haystack Enterprise Platform

# What's the Retention Policy for Search History and Pipeline Logs?

<ProductName /> stores two types of data relevant to privacy and compliance reviews: search history and pipeline logs. Check the data retention policy for each type.

***

## Search History Retention

<ProductName /> stores search history until you delete it or ask deepset Support to remove it. There is no automatic expiry. You can delete your search history at any time from within the platform.

## Pipeline Log Retention

Pipeline logs capture activity from your pipeline infrastructure. These logs are accessible to you for two days after they are generated. deepset retains them in the backend for two weeks before they are removed.

## Tips

If your organization has specific data retention requirements, take these steps:

- Delete search history proactively from within the platform rather than waiting for a support request.
- Factor the two-day access window into any monitoring or audit processes that rely on pipeline log data.
