---
title: "List Audit Logs"
method: GET
path: "/v1/organizations/{organizationSlug}/audit-logs"
---

# List Audit Logs

`GET /v1/organizations/{organizationSlug}/audit-logs`

Return the audit logs for the given organization, ordered by the `created_at` field in descending order.

## Path parameters

- `organizationSlug` string, required

## Query parameters

- `page_size` integer
- `page` integer

## Response `200`

Successful response

- object
  - `audit_logs` AuditLog[]
    - `code` 'user-signup' | 'db-create' | 'db-delete' | 'db-protect' | 'db-unprotect' | 'db-token-create' | 'group-token-create' | 'user-token-create' | 'instance-create' | 'instance-delete' | 'org-create' | 'org-delete' | 'org-member-add' | 'org-member-rm' | 'org-member-leave' | 'org-plan-update' | 'org-set-overages' | 'group-create' | 'group-delete' | 'group-unarchive' | 'group-protect' | 'group-unprotect' | 'db-aunrchive' | 'user-delete' — The code associated to the action taken.
    - `message` string — Additional context from the performed action.
    - `origin` string — Where this action was performed. Will be either `cli` or `web` depending on the `User-Agent` sent to the API.
    - `author` string — The username of the user who performed the action.
    - `created_at` string — A formatted [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp this action was performed.
    - `data` object — The payload of the action performed.
  - `pagination` object
    - `page` integer — The current page number.
    - `page_size` integer — The number of items per page.
    - `total_pages` integer — The total number of pages.
    - `total_rows` integer — The total number of items.

---

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