---
title: "Get Samba audit logs"
method: GET
path: "/samba/audit-logs"
tags: ["Samba"]
---

# Get Samba audit logs

`GET /samba/audit-logs`

Retrieve paginated Samba audit logs

## Query parameters

- `page` integer
- `size` integer
- `sort[0][field]` 'id' | 'action' | 'share' | 'user' | 'client' | 'ip' | 'path' | 'target' | 'occurrences' | 'createdAt' | 'created_at'
- `sort[0][dir]` 'asc' | 'desc'

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseGithubComAlchemillahqSylveInternalInterfacesServicesSambaAuditLogsResponse
  - `data` GithubComAlchemillahqSylveInternalInterfacesServicesSambaAuditLogsResponse
    - `data` GithubComAlchemillahqSylveInternalDbModelsSambaSambaAuditLog[]
      - `action` string
      - `client` string
      - `createdAt` string
      - `folder` string
      - `id` integer
      - `ip` string
      - `occurrences` integer
      - `path` string
      - `result` string
      - `retentionDays` integer
      - `share` string
      - `shareId` integer
      - `target` string
      - `user` string
    - `last_page` integer
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `500` — Internal Server Error

---

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