---
title: "Get Audit"
method: GET
path: "/documents/{doc_id}/audit"
---

# Get Audit

`GET /documents/{doc_id}/audit`

## Request

- Base URL: `https://app.wunel.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.wunel.com/documents/{doc_id}/audit`
- Auth: none declared

## Path parameters

- `doc_id` string, required

## Response `200`

Successful Response

- AuditOut[]
  - `id` integer, required
  - `document_id` string, required
  - `action` string, required
  - `actor` ActorOut, required
    - `actor_kind` 'human' | 'agent', required
    - `user_id` string, nullable
    - `agent_id` string, nullable
    - `principal_user_id` string, nullable
    - `label` string
    - `guest_id` string, nullable
    - `kind_detail` string
    - `via_share` boolean
  - `detail` string, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/wunel/apis/wunel-api.md) · [All operations](https://skmtc.dev/wunel/apis/wunel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wunel/apis/wunel-api/revisions/872fe0687a60?raw)
