---
title: "Get event by ID"
method: GET
path: "/events/{eventId}"
tags: ["Events"]
---

# Get event by ID

`GET /events/{eventId}`

## Path parameters

- `eventId` string, uuid, required — ID for the API event

## Response `200`

- ApiEventResponse — Represents a single event in the Mercury API event stream. Events track changes to resources over time, providing an audit trail of all modifications with before/after values and metadata about what changed.
  - `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

## Other responses

- `404` — `eventId` not found

---

[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)
