---
title: "Export Audits"
method: GET
path: "/api/v1/audits/export"
tags: ["Audit"]
---

# Export Audits

`GET /api/v1/audits/export`

## Request

- The document declares no server URL.
- Auth: one of:
  - OAuth 2
    - Password
    - Token URL: `api/v1/login`
  - API key in query parameter `x-api-key`
  - API key in header `x-api-key`

Stream every matching event as CSV (default) or NDJSON, newest first.

The window is frozen when the export starts, so it is one consistent snapshot
however long it runs, and the rows are never gathered in memory.

## Query parameters

- `source` string[]
- `kind` string[]
- `resource_type` string[]
- `action` string[]
- `exclude_action` string[]
- `operation` string[]
- `result` string[]
- `actor_type` string[]
- `resource_id` string, uuid
- `user_id` string, uuid
- `actor_id` string, uuid
- `request_id` string, uuid
- `since` string, date-time
- `until` string, date-time
- `q` string
- `format` 'csv' | 'ndjson'

## Response `200`

Successful Response

- unknown

## Changes

- **2026-10-21** `4349fbe90c64`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/langflow-ai/apis/langflow/changes/api/v1/audits/export/get.md)

---

[API](https://skmtc.dev/langflow-ai/apis/langflow.md) - [All operations](https://skmtc.dev/langflow-ai/apis/langflow/llms.txt) - [OpenAPI document](https://skmtc.dev/langflow-ai/apis/langflow/revisions/4349fbe90c64?raw)
