list_events
Retrieve a change-event feed for Mercury accounts and transactions, showing what changed and which fields were affected. Filter by entity, resource type, or time to audit recent activity across organizations.
Instructions
List the change-event feed in Mercury API desc order: what changed on which resource, with the changed fields.
`mergePatch` / `previousValues` are re-projected through the changed
resource's own allowlist (so an account event masks the account
number and a transaction event carries no bank coordinates). The API
has no time filter and documents no sort key, so with `since` the
whole feed (Mercury keeps 90 days) is walked, filtered on
`occurredAt` here, and sorted newest first before `limit` applies;
`truncated` is then exact. Without `since` the Mercury API `desc`
order is returned as is. Use this to see what changed recently on
transactions and accounts and which fields changed; use
`list_transactions` for the transactions themselves and
`list_webhooks` for the endpoints subscribed to these events. An
unknown `resource_type` is a 400 from Mercury.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum events to return (with `since`: newest first; else Mercury API desc order). | |
| since | No | Only events at or after this time, YYYY-MM-DD or ISO 8601 (UTC). Events live 90 days. | |
| entity | Yes | Exact `entity` key from `list_entities`, not its `display_name`. Required; there is no default. | |
| resource_type | No | Restrict to one resource type. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||