---
title: "Audit an entity"
method: GET
path: "/v6/auditTrail/{entityId}"
tags: ["Audit Trail"]
---

# Audit an entity

`GET /v6/auditTrail/{entityId}`

Retrieve the Audit Trail for an entity in the Tight API

## Response `200`

Success

- PaginatedResponseAuditTrailGetDto
  - `result` 'SUCCESS' | 'FAILURE' — The result of the action performed.
  - `data` AuditTrailGetDto[] — The data generated by the action performed.
    - `id` string, required — Id of the audit trail entry
    - `company` AuditTrailCompanyGetDto, required — Company associated with this audit trail entry
      - `id` string, required — Id of the company
      - `name` string, required — Name of the company
    - `editor` AuditTrailEditorGetDto, nullable, required — User who completed this bank closing
      - `id` string, required — Id of the editor
      - `userId` string, required — User id of the editor
      - `email` string, nullable, required — Email of the editor
    - `action` string, required — Action performed
    - `datetime` string, date-time, required — Date and time the action was performed
    - `revisions` JsonNode[], required — List of revisions detailing what changed
      - `empty` boolean
      - `array` boolean
      - `null` boolean
      - `object` boolean
      - `float` boolean
      - `string` boolean
      - `number` boolean
      - `missingNode` boolean
      - `valueNode` boolean
      - `nodeType` 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING'
      - `pojo` boolean
      - `integralNumber` boolean
      - `floatingPointNumber` boolean
      - `short` boolean
      - `int` boolean
      - `long` boolean
      - `double` boolean
      - `bigDecimal` boolean
      - `bigInteger` boolean
      - `textual` boolean
      - `boolean` boolean
      - `binary` boolean
      - `container` boolean
      - `embeddedValue` boolean
  - `cursor` ResponseCursor — Cursor to be used in your subsequent paginated request. Only populated if there are more pages available.
    - `after` string — After cursor - Fetches entities after this cursor. Useful for paging forwards.
    - `before` string — Before cursor - Fetches entities before this cursor. Useful for paging backwards.

## Other responses

- `400` — Bad request
- `401` — Not authenticated
- `403` — Not authorized
- `404` — Endpoint not found
- `500` — Internal server error

---

[API](https://skmtc.net/tight/apis/tight-api.md) · [All operations](https://skmtc.net/tight/apis/tight-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tight/tight-api/revisions/e9f0790a89af/schema)
