---
title: "Export audit logs"
method: GET
path: "/api/audit-logs/export"
tags: ["Audit log"]
---

# Export audit logs

`GET /api/audit-logs/export`

Export audit log entries as a CSV file. Supports filtering by project, user, and date range.

## Query parameters

- `projectId` string, uuid
- `userId` string, uuid
- `fromDate` string
- `toDate` string

## Response `200`

CSV file containing audit log entries

---

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