---
title: "Get the platform audit log (admin)"
method: GET
path: "/admin/audit-log"
tags: ["admin"]
---

# Get the platform audit log (admin)

`GET /admin/audit-log`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/admin/audit-log`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Query parameters

- `userId` integer
- `action` string
- `from` string, date-time
- `to` string, date-time
- `limit` integer
- `offset` integer

## Response `200`

Audit log

- object
  - `total` integer
  - `entries` AuditEvent[]
    - `id` integer, required
    - `userId` integer, nullable
    - `action` string, required
    - `entityType` string, required
    - `entityId` string, nullable
    - `createdAt` string, date-time

## Other responses

- `403`: Forbidden

## Changes

- **2026-04-18** `518dcf68679a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/admin/audit-log/get.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
