---
title: "start an opt-in historical backfill of audit logs to object storage"
method: POST
path: "/settings/audit_logs_s3_backfill"
tags: ["setting"]
---

# start an opt-in historical backfill of audit logs to object storage

`POST /settings/audit_logs_s3_backfill`

## Request body

- object
  - `from` string, date-time, required — inclusive lower bound of the window to export
  - `to` string, date-time, required — exclusive upper bound of the window to export

## Response `202`

backfill started

---

[API](https://skmtc.net/windmill/apis/windmill-api.md) · [All operations](https://skmtc.net/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/windmill/windmill-api/versions/155a35b3caff/schema)
