---
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

## Changes

> 176 revisions in range; 16 could not be searched.

- **2026-06-26** `d9e837898ab2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/windmill/apis/windmill-api/changes/settings/audit_logs_s3_backfill/post.md)

---

[API](https://skmtc.dev/windmill/apis/windmill-api.md) · [All operations](https://skmtc.dev/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/7b281701c340/schema)
