---
title: "POST Export audit logs"
description: "Export workspace audit logs to CSV format for enterprise plans."
last_updated: "2026-10-05T05:08:26.128006+00:00"
canonical_url: "https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/api/audit-logs/exportauditlogs"
---

<APIEndpoint
  method={"POST"}
  path={"/api/audit-logs/export"}
  summary={"Export audit logs"}
  description={"Export workspace audit logs to CSV format for enterprise plans."}
  deprecated={false}
  baseUrl={""}
/>

## Request Body

Start and end dates for audit logs

<APIRequestBody
  contentType={"application/json"}
  required={true}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"CSV data of audit logs"}
  contentType={"application/csv"}
/>

## Try It

<APIPlayground
  method={"POST"}
  path={"/api/audit-logs/export"}
  parameters={[]}
  requestBody={{"contentType":"application/json","required":true,"description":"Start and end dates for audit logs","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/llms.txt) for all pages in this wiki.
