---
title: "CSV export of the admin audit log (READ-only)"
method: GET
path: "/api/v1/admin/audit-log/export"
tags: ["Admin (scope: admin)"]
---

# CSV export of the admin audit log (READ-only)

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

## Request

- Base URL: `https://legal.nexusquantum.legal`
- URL: `https://legal.nexusquantum.legal/api/v1/admin/audit-log/export`
- Auth: HTTP bearer

Exports the audit log as CSV (attachment; `Content-Disposition` is preserved). Thin loopback to `/api/admin/audit-log/export`. Scope `admin`. 0 credits. API-ONLY (no MCP tool).

## Query parameters

- `format` 'csv'
- `action` string
- `admin_id` string
- `target_user_id` string
- `search` string
- `since` string, date-time
- `until` string, date-time

## Response `200`

Audit log CSV (text/csv, attachment).

## Other responses

- `401`: Invalid API key.
- `403`: INSUFFICIENT_SCOPE or account is no longer an admin.
- `429`: RATE_LIMITED

---

[API](https://skmtc.dev/nexusquantum/apis/nexus-legal-api.md) · [All operations](https://skmtc.dev/nexusquantum/apis/nexus-legal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nexusquantum/apis/nexus-legal-api/revisions/4084d8d4eb0b?raw)
