---
title: "Request an async encrypted KB audit export"
method: POST
path: "/v1/knowledge-base/audit/exports"
tags: ["knowledge-base-audit"]
---

# Request an async encrypted KB audit export

`POST /v1/knowledge-base/audit/exports`

## Request body

- ExportRequest — POST body for an async encrypted audit export.
  - `export_format` 'csv' | 'ndjson'
  - `start` string, date-time, required
  - `end` string, date-time, required
  - `kb_ids` string[], nullable
  - `statuses` string[], nullable
  - `actor_user_id` string, uuid, nullable
  - `session_id` string, uuid, nullable

## Response `202`

Successful Response

- ExportJobResponse — Status view of an export job (with per-file download tokens when ready).
  - `id` string, uuid, required
  - `status` string, required
  - `export_format` string, required
  - `window_start` string, date-time, nullable
  - `window_end` string, date-time, nullable
  - `created_at` string, date-time, required
  - `started_at` string, date-time, nullable
  - `finalized_at` string, date-time, nullable
  - `expires_at` string, date-time, nullable
  - `total_rows` integer, nullable
  - `partial_count` integer, nullable
  - `failed_count` integer, nullable
  - `error_code` string, nullable
  - `filters` object, nullable
  - `files` ExportFileStatus[]
    - `name` string, required
    - `sha256_plaintext` string, nullable
    - `download_token` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.net/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/revisions/5a5597ebb2d6/schema)
