---
title: "Retrieve account audit logs with history by account id"
method: GET
path: "/1.0/kb/accounts/{accountId}/auditLogsWithHistory"
tags: ["Account"]
---

# Retrieve account audit logs with history by account id

`GET /1.0/kb/accounts/{accountId}/auditLogsWithHistory`

## Request

- The document declares no server URL.
- Auth: one of:
  - HTTP basic
  - API key in header `X-Killbill-ApiKey`
  - API key in header `X-Killbill-ApiSecret`
- TypeScript: <https://skmtc.dev/killbill/apis/kill-bill/docs/1.0/kb/accounts/:accountId/auditLogsWithHistory/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `accountId` string, uuid, required

## Response `200`

successful operation

- AuditLog[]
  - `changeType` string
  - `changeDate` string, date-time
  - `objectType` 'ACCOUNT' | 'ACCOUNT_EMAIL' | 'BLOCKING_STATES' | 'BUNDLE' | 'CUSTOM_FIELD' | 'INVOICE' | 'PAYMENT' | 'TRANSACTION' | 'INVOICE_ITEM' | 'INVOICE_PAYMENT' | 'SUBSCRIPTION' | 'SUBSCRIPTION_EVENT' | 'SERVICE_BROADCAST' | 'PAYMENT_ATTEMPT' | 'PAYMENT_METHOD' | 'TAG' | 'TAG_DEFINITION' | 'TENANT' | 'TENANT_KVS'
  - `objectId` string, uuid
  - `changedBy` string
  - `reasonCode` string
  - `comments` string
  - `userToken` string
  - `history` Entity
    - `id` string, uuid
    - `updatedDate` string, date-time
    - `createdDate` string, date-time

## Other responses

- `404`: Account not found

---

[API](https://skmtc.dev/killbill/apis/kill-bill.md) - [All operations](https://skmtc.dev/killbill/apis/kill-bill/llms.txt) - [OpenAPI document](https://skmtc.dev/killbill/apis/kill-bill/revisions/0fb95d23caf5?raw)
