---
title: "Get Audit Logs"
method: GET
path: "/api/admin/audit"
tags: ["Admin"]
---

# Get Audit Logs

`GET /api/admin/audit`

Get audit logs.

## Query parameters

- `page` integer
- `limit` integer
- `action` string, nullable

## Response `200`

Successful Response

- AuditLogsResponse
  - `success` boolean
  - `logs` AuditLogEntry[]
    - `id` string, nullable
    - `admin_id` string, nullable
    - `admin_name` string, nullable
    - `action` string, required
    - `target_user_id` string, nullable
    - `details` object, nullable
    - `created_at` string, nullable
  - `total` integer
  - `page` integer
  - `limit` integer

## Other responses

- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/compresr/apis/compresr-platform-api.md) · [All operations](https://skmtc.net/compresr/apis/compresr-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/compresr/compresr-platform-api/revisions/93ee959dfa51/schema)
