---
title: "Export audit logs (v2) as CSV"
method: GET
path: "/admin/audit-logs-v2/export-csv"
tags: ["admin"]
---

# Export audit logs (v2) as CSV

`GET /admin/audit-logs-v2/export-csv`

Exports audit log entries as a CSV file. Supports filtering by timestamp range. Fails if the number of matching logs exceeds a certain maximum.

## Query parameters

- `attributes` AuditLogV2QueryAttribute[]
- `timestampAfterOrEqual` string, date-time
- `timestampBeforeOrEqual` string, date-time

## Response `200`

OK

## Other responses

- `400` — Bad request
- `403` — Operation not allowed

---

[API](https://skmtc.net/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.net/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/13316c9fe5ff/schema)
