---
title: "Get Audit Log"
method: GET
path: "/users/audit-log"
tags: ["users"]
---

# Get Audit Log

`GET /users/audit-log`

## Request

- Base URL: `https://api.tickertrac.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tickertrac.com/users/audit-log`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Declared before /{user_id} below -- FastAPI matches routes in registration
order, and /{user_id}'s int path converter would otherwise 422 on "audit-log"
before ever falling through to this route.

## Query parameters

- `limit` integer

## Response `200`

Successful Response

- AuditLogEntryOut[]
  - `id` integer, required
  - `admin_user_id` integer, nullable, required
  - `admin_email` string, nullable, required
  - `action` string, required
  - `target_user_id` integer, nullable, required
  - `target_email` string, nullable, required
  - `detail` string, nullable, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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