---
title: "GET /api/v3/accounts/{account_id}/audit-logs/download/"
method: GET
path: "/api/v3/accounts/{account_id}/audit-logs/download/"
tags: ["Audit Logs"]
---

# GET /api/v3/accounts/{account_id}/audit-logs/download/

`GET /api/v3/accounts/{account_id}/audit-logs/download/`

## Request

- Base URL: `https://cloud.getdbt.com`
- URL: `https://cloud.getdbt.com/api/v3/accounts/{account_id}/audit-logs/download/`
- Auth: HTTP bearer

Generate audit log CSV

Note: This API is only available to enterprise customers.

## Path parameters

- `account_id` integer, required

## Query parameters

- `include_related` string

## Response `200`

A CSV file

## Changes

- **2026-10-06** (v3) `7d5c1b4c8d8a`: 1 breaking
  - for the `path` request parameter `account_id`, the format changed from no format to `int64`

[Operation history](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2/changes/api/v3/accounts/:account_id/audit-logs/download/get.md)

---

[API](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2.md) - [All operations](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2/revisions/2448b375ac2f?raw)
