---
title: "Search audit log entries"
method: GET
path: "/api/audit"
tags: ["Audit"]
---

# Search audit log entries

`GET /api/audit`

Searches audit log entries with optional filtering by entity type, entity id, action, and time range.

## Query parameters

- `entityType` string
- `entityId` string
- `action` string
- `start` string
- `end` string
- `page` number, double

## Response `200`

Paginated list of audit log entries

- PageAuditLogDTO — Represents a paginated response containing an array of elements.
  - `content` AuditLogDTO[], required — The content of the page - an array of elements.
    - `id` string, required — The unique identifier of the audit log entry.
    - `entityType` 'certificate' | 'south_connector' | 'south_item' | 'south_item_group' | 'north_connector' | 'north_transformer' | 'history_query' | 'history_query_item' | 'history_query_transformer' | 'scan_mode' | 'ip_filter' | 'user' | 'transformer' | 'engine' | 'oianalytics_registration', required — Type representing an audited entity type.
    - `entityId` string, required — The identifier of the entity this audit log entry relates to.
    - `action` 'DELETE' | 'CREATE' | 'UPDATE', required — Type representing an audit action.
    - `previousState` RecordStringUnknown, required — Construct a type with a set of properties K of type T
    - `newState` RecordStringUnknown, required — Construct a type with a set of properties K of type T
    - `userId` string, required — The identifier of the user who performed the change.
    - `createdAt` string, required — ISO timestamp of when the change was recorded.
  - `totalElements` number, double, required — The total number of elements across all pages.
  - `size` number, double, required — The size of the page, i.e., the maximum number of elements per page.
  - `number` number, double, required — The number of the current page, starting at 0.
  - `totalPages` number, double, required — The total number of pages (which can be 0 if there are no elements).

## Changes

- **2026-08-24** `c7fdedb4e501` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/optimistiksas/apis/oibus-api/changes/api/audit/get.md)

---

[API](https://skmtc.dev/optimistiksas/apis/oibus-api.md) · [All operations](https://skmtc.dev/optimistiksas/apis/oibus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/optimistiksas/oibus-api/revisions/512c91ccaed6/schema)
