---
title: "List audit-trail entries for a matter (or all matters)"
method: GET
path: "/counsel/audit-trail"
tags: ["counsel"]
---

# List audit-trail entries for a matter (or all matters)

`GET /counsel/audit-trail`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/counsel/audit-trail`
- Auth: one of:
  - none
  - HTTP bearer

## Query parameters

- `matterId` string

## Response `200`

Audit entries

- object
  - `entries` CounselAuditEntry[]
    - `id` string
    - `matterId` string
    - `timestamp` string, date-time
    - `user` string
    - `role` string
    - `action` 'viewed' | 'edited' | 'exported' | 'redacted' | 'accessed-wall' | 'escalated' | 'deadline-updated' | 'privilege-changed'
    - `detail` string
    - `ip` string

## Other responses

- `401`: Unauthorized

## Changes

- **2026-04-20** `b08a79b3fc47`: 1 info
  - added the non-success response with the status `401`
- **2026-04-18** `69dc43a7baac`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/counsel/audit-trail/get.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
