---
title: "List Activity Events"
method: GET
path: "/v1/sites/{id}/activity/events"
tags: ["Activity"]
---

# List Activity Events

`GET /v1/sites/{id}/activity/events`

List and Search events that took place on the site

## Path parameters

- `id` integer, required — ID of the Site you are interacting with

## Query parameters

- `author` string
- `page` integer — Page of results to include (default = 1)
- `per_page` integer — How many results to include in each page (default = 10)
- `date_from` string — Earliest date to show results for. Format YYYY-MM-DD with optional Thh:mm:ss.mmmZ
- `date_to` string — Latest date to show results for. Format YYYY-MM-DD with optional Thh:mm:ss.mmmZ
- `duration` '30m' | '1h' | '6h' | '12h' | '24h' | '72h' | '7d' | '30d' — Duration that the listed data is for (m = minutes, h = hours, d = days)
- `ip` string
- `event_type` string
- `action` string
- `display_name` string
- `user_email` string
- `user_login` string
- `label` string

## Response `200`

OK

- ListEventsResponse
  - `success` boolean — whether the request succeeded
  - `errors` string[]
  - `messages` string[], nullable
  - `metadata` object
    - `page` integer — Page number of the results
    - `page_size` integer — Number of results per page
    - `total` integer — Total number of results
    - `sort` string — Sorting criteria
    - `direction` 'asc' | 'desc' — Sorting direction
  - `result` Event[]
    - `id` string
    - `author` string
    - `site_id` integer
    - `display_name` string
    - `user_login` string
    - `user_email` string
    - `roles` string
    - `ip` string
    - `type` string
    - `label` string
    - `action` string
    - `description` string
    - `created_at` string

## Other responses

- `400` — Bad Request
- `401` — Authentication failed
- `403` — Not authorized to access endpoint
- `404` — Given site not found for user
- `405` — Invalid input
- `500` — Internal error

---

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