---
title: "New Audit Logs retention period API"
description: "The Audit Logs API can now be used to increase the retention period from 30 to 365 days."
url: https://workos.com/changelog/new-audit-logs-retention-period-api
---

# New Audit Logs retention period API

You can now set or get the retention period of Audit Logs for an Organization [via our Audit Logs API](https://workos.com/docs/reference/audit-logs/get-retention).

By default, Audit Logs are retained for 30 days. If you’d like to offer your customers a longer retention period for their audit logs, as part of an enterprise plan for example, you can set the retention period to 365 days with an API call.
