---
title: "Export agent audit logs as CSV"
description: ""
canonical: "https://pgbeam.com/docs/api/agents/exportAuditLogs"
last-updated: "2026-09-14T19:37:21.000Z"
---

# Export agent audit logs as CSV

> 

URL: https://pgbeam.com/docs/api/agents/exportAuditLogs

Streams the project's agent audit entries as a CSV file, newest first, honoring the same credential, event, decision, source and date-range filters as the list endpoint. The full filtered set is streamed (no pagination); the result is suitable for spreadsheets, SIEM ingestion, and compliance archives.