Skip to main content
GET
List the collections audit trail

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Query Parameters

organizationId
string<uuid>

Only the actions related to accounts of this Midaz organization. It only filters: the permission covers the tenant's whole trail.

actorId
string

Only the actions of this author: the subject of the token, or the name of the service's worker.

Maximum string length: 128
action
enum<string>

Only the actions of this kind.

Available options:
RELEASE_WRITE_OFF,
CANCEL_SCHEDULED_RELEASE,
UNHOLD_WRITE_OFF,
REVERSE_WRITE_OFF,
REPROCESS_CREDIT_ENTRY,
REPROCESS_PCR_COMMAND,
CLOSE_PCR_COMMAND,
SETTLE_SUBMISSION_FAILURE,
ASSOCIATE_PCR_NOTICE,
DISCARD_PCR_NOTICE,
APPLY_PCR_NOTICE,
WRITE_OFF_LATE_REGISTRATION,
ENABLE_ACCOUNT,
CREATE_ENABLEMENT_BATCH,
APPROVE_ENABLEMENT,
REJECT_ENABLEMENT,
DISABLE_BENEFICIARY,
CORRECT_AGREEMENT_DIVERGENCE,
ADOPT_AGREEMENT_DIVERGENCE,
BULK_ADOPT_AGREEMENT_DIVERGENCES,
CREATE_AGREEMENT,
UPDATE_AGREEMENT,
CLOSE_AGREEMENT,
REPROCESS_AGREEMENT_CLOSURE,
FORCE_CLOSE_AGREEMENT,
LINK_POOLED_ACCOUNT,
REMOVE_POOLED_ACCOUNT_LINK,
PUT_PCR_CONNECTION,
PUT_COLLECTIONS_SETTINGS,
SYNC_PCR_SUBSCRIPTION,
ROTATE_PCR_NOTICE_SECRET,
REDELIVER_PCR_NOTICE
targetType
enum<string>

Only the actions on this kind of resource.

Available options:
TITLE,
WRITE_OFF,
CREDIT_ENTRY,
PCR_COMMAND,
PCR_NOTICE,
BENEFICIARY,
ENABLEMENT_BATCH,
AGREEMENT,
AGREEMENT_DIVERGENCE,
POOLED_ACCOUNT_LINK,
PCR_CONNECTION,
PCR_SUBSCRIPTION,
PCR_WEBHOOK_DELIVERY,
COLLECTIONS_SETTINGS,
ACCOUNT
targetId
string<uuid>

Only the actions on this resource.

from
string

Lower bound of occurredAt, inclusive. A calendar date (YYYY-MM-DD) is a UTC day and starts at its first instant; an RFC 3339 date-time with offset (e.g. 2026-11-01T00:00:00-03:00) is used as the exact instant. A positive offset must be percent-encoded (%2B).

Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}([.][0-9]{1,9})?(Z|[+-][0-9]{2}:[0-9]{2}))?$
Example:

"2026-11-01"

to
string

Upper bound of occurredAt, inclusive. A calendar date (YYYY-MM-DD) is a UTC day and covers it to its last instant; an RFC 3339 date-time with offset (e.g. 2026-11-30T23:59:59.999999-03:00) is used as the exact instant. A positive offset must be percent-encoded (%2B).

Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}([.][0-9]{1,9})?(Z|[+-][0-9]{2}:[0-9]{2}))?$
Example:

"2026-11-30"

cursor
string

Opaque cursor returned in nextCursor or prevCursor. Left out, the first page.

Maximum string length: 512
limit
integer<int64>
default:20

Most actions per page.

Required range: 1 <= x <= 100
Example:

20

Response

OK. One page of audit actions.

items
object[]
required

The page's actions, oldest first.

limit
integer<int64>
required

Most actions the page holds.

Example:

20

nextCursor
string | null

Cursor of the page after this one; null on the last page.

Maximum string length: 512
prevCursor
string | null

Cursor of the page before this one; null on the first page.

Maximum string length: 512