---
title: "Audit Export"
method: POST
path: "/api/v1/audit/export"
tags: ["audit"]
---

# Audit Export

`POST /api/v1/audit/export`

## Request

- Base URL: `http://127.0.0.1:8052`
- URL: `http://127.0.0.1:8052/api/v1/audit/export`
- Auth: none declared

Stream the filtered audit log as CSV or JSONL.

Same filter semantics as ``GET /audit`` (``event_type``, ``search``,
``from``, ``to``); returns the entire matching set in one body, no
pagination - operators expect to download the whole filtered slice.
Used by the web GUI Export menu (CSV / JSONL buttons).

## Query parameters

- `format` string
- `event_type` string, nullable
- `search` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/bernstein/apis/bernstein-task-server.md) · [All operations](https://skmtc.dev/bernstein/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc.dev/bernstein/apis/bernstein-task-server/revisions/2a20a34ad2eb?raw)
