---
title: "List organization audit logs"
method: GET
path: "/audit-logs/organization/{organizationId}"
tags: ["Audit logs"]
---

# List organization audit logs

`GET /audit-logs/organization/{organizationId}`

Gets a list of all audit log entries for the specified organization.

The audit log entries in the response are sorted by the `triggeredAt` property in descending order by default. You can use pagination to navigate through a large number of entries.

You can get the audit log entries only for organizations in which you have the "Admin" or "Owner" roles. Otherwise, you get the 403 error.

## Path parameters

- `organizationId` integer, required

## Query parameters

- `team` union
  - string
  - integer
  - string[]
  - integer[]
- `dateFrom` string, date
- `dateTo` string, date
- `event` union
  - string
  - string[]
- `author` union
  - string
  - integer
  - string[]
  - integer[]
- `pg[offset]` integer
- `pg[limit]` integer
- `pg[last]` integer
- `pg[sortBy]` 'createdAt' | 'triggeredAt' | 'eventName' | 'organization' | 'team' | 'actor' | 'targetId'
- `pg[sortDir]` 'asc' | 'desc'
- `pg[returnTotalCount]` boolean

## Response `200`

Audit log entries for the specified organization.

- object
  - `auditLogs` object[]
    - `uuid` string
    - `createdAt` string
    - `triggeredAt` integer
    - `organizationId` integer
    - `organization` object
      - `id` integer
      - `name` string
    - `eventName` string
    - `team` object
      - `id` integer
      - `name` string
    - `actor` object
      - `id` integer
      - `name` string
      - `email` string, email
    - `targetId` string
    - `version` object
      - `from` string
      - `to` string
  - `pg` object
    - `last` string — Shown only when using the `last` based pagination.
    - `showLast` boolean — Shown only when using the `last` based pagination.
    - `sortBy` string
    - `sortDir` string
    - `limit` integer
    - `offset` integer — Shown only when using the `offset` based pagination.
    - `totalCount` integer — The number of audit log entries for the organization.

---

[API](https://skmtc.dev/make/apis/web-api-v2-public.md) · [All operations](https://skmtc.dev/make/apis/web-api-v2-public/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/make/web-api-v2-public/revisions/531769e6f813/schema)
