Newest-first. Filter by category, exact action, actor, resource (id and/or kind), environment, free-text (actor / resource label, action, metadata) and a created-at range. All filters are optional and bookmarkable. Each entry carries changedFields — the dot-paths that differ between before and after — so a client can render a diff without reimplementing one. total is counted up to a ceiling; check totalIsExact.
Filter by exact action(s). Repeat the param to include several.
actorUserId
string
Filter to entries produced by a specific user (uuid).
actor
string
Example
user:3f6b2a1c-9d4e-4f5a-8b7c-6d5e4f3a2b1c
Filter to entries produced by ONE actor, any kind: user:<uuid>, key:<uuid>, partner:<uuid>, platform (anything the EmiteCR team did in the account, from its backoffice — each entry names the person in actorLabel), or system (actor-less events). Unlike actorUserId, this also covers API-key, partner and EmiteCR actors — pair with GET /v1/audit/actors to enumerate them.
resourceId
string
Filter to entries affecting a specific resource (uuid).
resourceType
string
Example
invoice
Filter by resource kind (invoice, item, member, …). Pair with resourceId to get the full history of one record.
environment
string
Allowed values: sandboxproduction
Filter transactional entries by environment. Config events are env-independent (environment is null) and are EXCLUDED when this filter is set.
q
string
Free-text search, case- and accent-insensitive, up to 120 characters. An entry matches when every word (of two or more characters) appears in its actor or resource label, when every word appears in its metadata (a clave, a rejection reason…), or when the whole text appears in its action.
from
string
Example
2026-01-01
Lower bound for createdAt. A bare YYYY-MM-DD is a Costa Rica calendar day (midnight CR = 06:00Z); a full ISO 8601 instant is used verbatim. Inclusive.
to
string
Example
2026-12-31
Upper bound for createdAt. A bare YYYY-MM-DD covers that whole Costa Rica calendar day (up to, but excluding, midnight CR of the next day). A full ISO 8601 instant is an inclusive cut at that exact instant.
page
number
Example
1
1-indexed page number. Default 1.
format
string
Allowed values: csvxlsxndjson
Export serialization. csv (default) for spreadsheets, xlsx for a styled workbook, ndjson for SIEM ingestion. Ignored by the list endpoint.
Actor partner-app id (null for JWT/API-key/system events).
string
nullable
actorRole
required
The role the actor held AT THE TIME of the action (owner, admin, a custom role slug…). Denormalized at write time: a member's role changes, and an audit row must keep saying what permissions the action was taken under.
string
nullable
actorLabel
required
Display label for the actor (user email, key:<prefix>, or EmiteCR · <name> when the EmiteCR team acted from its backoffice). Null for system events.
string
nullable
resourceType
required
Resource kind (invoice, member, …).
string
nullable
resourceId
required
Id (uuid) of the record the action was about; pass it with resourceType to get that record's whole history. Null when the action is not about one record.
string
nullable
resourceLabel
required
Human label for the resource.
string
nullable
before
required
State before the change (secret-free). Null for create events.
object
key
additional properties
any
after
required
State after the change (secret-free). Null for delete events.
object
key
additional properties
any
metadata
required
Event details plus request context (ip, userAgent, requestId). Two different natures share this object; clients should render them as separate sections.
object
key
additional properties
any
changedFields
required
Dot-paths that differ between before and after, computed at read time. null when a comparison is not meaningful (creation or deletion — only one snapshot exists); an EMPTY array means both snapshots exist and nothing changed.
Array<string>
nullable
environment
required
The environment a transactional event happened in (an invoice, an import…). Null for configuration events, which apply to both environments.
string
nullable
Allowed values: sandboxproduction
createdAt
required
ISO timestamp the event occurred.
string
total
required
Matching rows ignoring pagination. Counting is bounded (see totalIsExact) — an unbounded count(*) over a five-year trail runs on every page turn and is the first thing to degrade at volume.
number
totalIsExact
required
false when the count hit its ceiling: total is then the ceiling, not the truth, and the client should render it as "N+".
boolean
page
required
The page returned, 1-based.
number
pageSize
required
Rows per page applied: the requested pageSize, capped at 200.