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

# Get audit log

`GET /api/v1/audit-log`

## Request

- Base URL: `https://api.pwapps.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pwapps.com/api/v1/audit-log`
- Auth: OAuth 2
  - Password
  - Token URL: `https://api.pwapps.com/api/v1/user/login`
- TypeScript: <https://skmtc.dev/pwapps/apis/curie-api/docs/api/v1/audit-log/get.ts> (a function with typed inputs; its response is checked against the schema)

Get audit log records for entities owned by the current user.

## Query parameters

- `entityType` string, nullable
- `action` 'CREATE' | 'UPDATE' | 'DELETE' | 'COPY' | 'SHARE'
- `entityId` string, uuid, nullable
- `dateFrom` string, date-time, nullable: Inclusive start; UTC if no offset
- `dateTo` string, date-time, nullable: Inclusive end; UTC if no offset
- `actorEmail` string, nullable
- `page` integer
- `size` integer

## Response `200`

Successful Response

- PageAuditLogDTO
  - `items` AuditLogDTO[], required
    - `id` string, uuid, required
    - `userId` string, uuid, required
    - `entityId` string, uuid, required
    - `entityType` string, required
    - `entityName` string, nullable
    - `action` 'CREATE' | 'UPDATE' | 'DELETE' | 'COPY' | 'SHARE', required
    - `actorEmail` string, nullable
    - `createdAt` string, date-time, required
  - `total` integer, required
  - `page` integer, required
  - `size` integer, required
  - `pages` integer, required

## Other responses

- `401`: Authentication required.
- `403`: Access denied.
- `422`: Validation Error

## Changes

- **2026-09-24** `615ebc9bfa17`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-09-17** `63dabfc96836`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pwapps/apis/curie-api/changes/api/v1/audit-log/get.md)

---

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