---
title: "List audit logs"
method: GET
path: "/v1/audit"
tags: ["Audits"]
---

# List audit logs

`GET /v1/audit`

## Query parameters

- `offset` integer
- `limit` integer
- `audit_action_name` string — Audit action
- `audit_resource_type_name` string — Audit resource type
- `sort_by` 'audit_time'
- `sort_asc` boolean
- `audit_time_before` string, date-time
- `audit_time_after` string, date-time

## Response `200`

OK

- object — Paginated response
  - `data` Audit[], required — List of audit logs
    - `account_id` string, required — ID of an account
    - `action` string, required — Action that was performed on the resource
    - `action_fields_json` string, required — Unstructured fields specific to the action
    - `audit_id` string, required — ID of an audit log
    - `audit_time` string, date-time, required — Time of the audit log
    - `client_id` string, required — ID of a client or an empty string
    - `description` string, required — Description of the audit log
    - `resource_id` string, required — ID of the resource that was audited
    - `resource_type` string, required — Type of the resource that was audited
    - `source` string, required — Source of the audit log
    - `system` boolean, required — Whether the audit log was created by the system or a user
    - `user_id` string, required — ID of a user or an empty string
  - `pagination` Pagination, required
    - `next_offset` integer — Next offset to use for pagination. If this field is not present, that indicates there are no more items to fetch.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

---

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