---
title: "Get audit log by ID"
method: GET
path: "/v1/governance/audit-logs/{id}"
tags: ["Governance"]
---

# Get audit log by ID

`GET /v1/governance/audit-logs/{id}`

Use this endpoint to retrieve the details of a specific audit log entry by its identifier. Audit logs contain immutable records of all system operations for compliance and debugging purposes.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Request-Id` string

## Response `200`

Indicates that the request was successful and the response contains the expected data.

- AuditLogResponse — Immutable audit log entry for governance tracking
  - `action` string — Action that was performed
  - `actorId` string — ID of the actor who performed the action
  - `changes` integer[] — Changes made to the entity
  - `createdAt` string — Creation timestamp in RFC3339 format
  - `entityId` string — ID of the entity that was modified
  - `entityType` string — Type of entity that was modified
  - `id` string — Unique identifier for the audit log entry
  - `tenantId` string — Tenant ID that owns this audit log entry
  - `truncated` boolean — True when the original audit diff exceeded the payload cap and was replaced with a truncation marker
  - `originalSize` integer — Byte size of the original diff before truncation; zero when not truncated

## Other responses

- `400` — The request contains invalid parameters or payload.
- `401` — The request lacks valid authentication credentials.
- `403` — You do not have permission to access this resource.
- `404` — The requested resource was not found.
- `500` — An unexpected error occurred on the server.

---

[API](https://skmtc.net/lerian/apis/identity-plugin.md) · [All operations](https://skmtc.net/lerian/apis/identity-plugin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lerian/identity-plugin/versions/25daba385532/schema)
