---
title: "List Site's Events"
method: GET
path: "/plug/sites/{siteId}/events"
tags: ["Sites"]
---

# List Site's Events

`GET /plug/sites/{siteId}/events`

This endpoint allows you to view the event history for a site. For example, you can query this endpoint to find out when a site was created and who it was created by. This endpoint is pageable.

This endpoint supports [Sandbox Mode](https://docs.arcadia.com/docs/sandbox-testing).

## Path parameters

- `siteId` string, required

## Query parameters

- `search` string
- `page` integer
- `size` integer
- `sort` string[]

## Headers

- `Arcadia-Version` string, required

## Response `200`

OK

- PagedPublicSiteEventResource
  - `page` PageMetadata, required — Specifies which page of results to return; this is 0-indexed
    - `number` integer, required
    - `size` integer, required
    - `totalElements` integer, required
    - `totalPages` integer, required
  - `siteEvents` PublicSiteEventResource[], required — Events associated with the site, such as when the value of a field changes etc.
    - `createdAt` string, date-time, required — The date-time this event occurred.
    - `createdBy` string, required — The user or system that initiated the event.
    - `eventType` 'SITE_CREATED' | 'SITE_DATA_UPDATED' | 'SITE_SERVICE_ADDRESS_CHANGE' | 'EXPECTED_METER_CREATED' | 'EXPECTED_METER_DELETED' | 'METER_ASSIGNED' | 'METER_UNASSIGNED', required — The type of event that occurred.
    - `fieldName` string, nullable, required — For field value changes, represents which field was modified.
    - `id` string, required — A unique identifier for the event.
    - `newValue` string, nullable, required — For field value changes, represents the newly assigned value of the field.
    - `oldValue` string, nullable, required — For field value changes, represents the previous value of the field.

---

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