---
title: "Export the audit log as CSV"
method: GET
path: "/api/v1/audit-log/export"
tags: ["audit-log-controller"]
---

# Export the audit log as CSV

`GET /api/v1/audit-log/export`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/audit-log/export`
- Auth: HTTP bearer

The same entries the listing returns, under the same filters, streamed as CSV rather than paged. A from= or to= that is not a yyyy-MM-dd date is rejected rather than ignored.

## Query parameters

- `action` string
- `status` string
- `resourceType` string
- `from` string
- `to` string

## Response `200`

OK

---

[API](https://skmtc.dev/railhook/apis/railhook-api.md) · [All operations](https://skmtc.dev/railhook/apis/railhook-api/llms.txt) · [OpenAPI document](https://skmtc.dev/railhook/apis/railhook-api/revisions/4e2c76dfc33d?raw)
