---
title: "Get all events"
method: GET
path: "/events"
tags: ["Events"]
---

# Get all events

`GET /events`

## Query parameters

- `limit` integer — Maximum number of results to return. Allowed range: 1 to 1000. Defaults to 1000
- `start_after` string, uuid — The ID of the event to start the page after (exclusive). When provided, results will begin with the event immediately following this ID. Use this for standard forward pagination to get the next page of results. Cannot be combined with end_before.
- `end_before` string, uuid — The ID of the event to end the page before (exclusive). When provided, results will end just before this ID and work backwards. Use this for reverse pagination or to retrieve previous pages. Cannot be combined with start_after.
- `order` 'asc' | 'desc' — Sort order. Can be 'asc' or 'desc'. Defaults to 'asc'
- `resourceType` 'transaction' | 'checkingAccount' | 'savingsAccount' | 'treasuryAccount' | 'investmentAccount' | 'creditAccount'
- `resourceId` string, uuid

## Response `200`

- ApiEventsPaginatedResponse — Paginated response containing a list of API events. | Use the page cursor information to fetch additional pages of events.
  - `events` ApiEventResponse[], required — List of events in the current page
    - `changedPaths` string[], required — List of JSON paths that were modified in this event
    - `id` string, uuid, required — Unique identifier for this event
    - `mergePatch` object, required — JSON object containing the fields that were changed and their new values
    - `occurredAt` string, yyyy-mm-ddThh:MM:ssZ, required — Timestamp when the event occurred
    - `operationType` 'create' | 'update' | 'delete', required — The type of operation performed (e.g., create, update, delete)
    - `previousValues` object, nullable — JSON object containing the fields that were changed and their previous values before the update
    - `resourceId` string, uuid, required — The ID of the resource that was affected
    - `resourceType` 'transaction' | 'checkingAccount' | 'savingsAccount' | 'treasuryAccount' | 'investmentAccount' | 'creditAccount', required — The type of resource that was affected (e.g., transaction, account)
    - `resourceVersion` integer, required — Version number of the resource after this change
  - `page` object, required — Pagination information including cursors for navigating to next/previous pages
    - `nextPage` string, uuid — ID for the API event
    - `previousPage` string, uuid — ID for the API event

## Other responses

- `400` — Invalid `resourceId` or `resourceType` or `order` or `end_before` or `start_after` or `limit`

---

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