---
title: "Get audit logs"
method: GET
path: "/api/audit"
tags: ["Audit"]
---

# Get audit logs

`GET /api/audit`

View audit trail of organization actions. Requires admin permissions.

## Query parameters

- `page` integer
- `limit` integer
- `action` string

## Response `200`

Audit log entries

- AuditResponse
  - `success` boolean
  - `data` object
    - `logs` AuditLogEntry[]
      - `id` string, uuid
      - `action` string
      - `details` object, nullable
      - `createdAt` string, date-time
      - `user` object
        - `id` string, uuid
        - `name` string, nullable
        - `email` string, nullable
    - `pagination` object
      - `currentPage` integer
      - `totalPages` integer
      - `totalCount` integer
      - `limit` integer
      - `hasNext` boolean
      - `hasPrev` boolean
    - `filters` object
      - `actions` string[]

## Other responses

- `401` — Authentication required or token invalid
- `403` — Insufficient permissions
- `500` — Failed to fetch audit logs

---

[API](https://skmtc.dev/supercheck-io/apis/supercheck-api.md) · [All operations](https://skmtc.dev/supercheck-io/apis/supercheck-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/supercheck-io/supercheck-api/revisions/81782deccf0e/schema)
