---
title: "Audit Log"
method: GET
path: "/api/v1/admin/audit-log"
tags: ["admin"]
---

# Audit Log

`GET /api/v1/admin/audit-log`

## Request

- Base URL: `https://api.peil.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.peil.app/api/v1/admin/audit-log`
- Auth: OAuth 2 (password, token URL `/api/v1/auth/jwt/login`)

The destructive-action trail, newest first.

Reads back what the ban/delete/revoke handlers write to `admin_actions`. The
subject may be a purged account (a `delete` removes the user row while this
row survives — the point of the table), so the target email is resolved
best-effort and comes back null when the account is gone; the id is always
kept so the action is never anonymous.

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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