---
title: "List Activity Logs"
method: GET
path: "/api/v1/activity-logs"
tags: ["Activity Logs"]
---

# List Activity Logs

`GET /api/v1/activity-logs`

Retrieves a paginated list of activity logs. Can be filtered by `subject_type` and `subject_id`.

## Query parameters

- `filter[subject_type]` string
- `filter[subject_id]` string
- `fields[causer]` string
- `page` integer
- `per_page` integer

## Response `200`

Successful response

- ActivityLogsListResponse
  - `data` ActivityLogs[]
    - `id` integer — Unique identifier
    - `log_name` string
    - `description` string
    - `subject_id` integer
    - `subject_type` string
    - `causer_id` integer
    - `created_at` string
    - `updated_at` string
    - `event` string
    - `name` string
    - `email` string
  - `meta` PaginationMeta
    - `current_page` integer
    - `from` integer, nullable
    - `last_page` integer
    - `path` string
    - `per_page` integer
    - `to` integer, nullable
    - `total` integer
  - `links` PaginationLinks
    - `first` string, uri
    - `last` string, uri
    - `prev` string, uri, nullable
    - `next` string, uri, nullable

## Other responses

- `401` — Unauthenticated
- `403` — Unauthorized

---

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