---
title: "List File's Events"
method: GET
path: "/plug/files/{fileId}/events"
tags: ["Files"]
---

# List File's Events

`GET /plug/files/{fileId}/events`

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

## Path parameters

- `fileId` string, required

## Query parameters

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

## Headers

- `Arcadia-Version` string, required

## Response `200`

OK

- PagedPublicFileEventResource
  - `fileEvents` PublicFileEventResource[], required — Events associated with the file, 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` 'FILE_CREATED' | 'FILE_STATUS_UPDATED' | 'FILE_STATUS_DETAIL_UPDATED' | 'FILE_UPDATED', required — The type of event that occurred.
    - `fieldName` string, nullable, required — Represents the field which was modified.
    - `id` string, required — A unique identifier for the event.
    - `newValue` string, nullable, required — Represents the newly assigned value of the field.
    - `oldValue` string, nullable, required — Represents the previous value of the field.
  - `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

---

[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/revisions/d00587742116/schema)
