---
title: "Get audit log"
method: GET
path: "/v1/audit-log/{id}"
tags: ["audit"]
---

# Get audit log

`GET /v1/audit-log/{id}`

## Request

- Base URL: `https://api.patricia.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.patricia.app/v1/audit-log/{id}`
- Auth: HTTP bearer

Retrieve a single audit log by ID.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Tenant-Id` string, nullable

## Response `200`

The requested audit log.

- ModelsAuditAuditLogFullValidator: Admin read-only response shape. All fields optional so ``fields=`` projection validates (runflow audit pattern). ``metadata_`` reads the ORM attr by name and serializes under the public key ``metadata`` via ``serialization_alias``.
  - `id` string, uuid, nullable
  - `tenant_id` string, uuid, nullable
  - `actor_id` string, uuid, nullable
  - `action` string, nullable
  - `target` string, nullable
  - `risk_tier_code` string, nullable
  - `metadata` object, nullable
  - `created_at` string, date-time, nullable

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)
- `404`: Not found
- `422`: Validation error

---

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