Skip to main content
GET
Get an audit trail action

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Path Parameters

audit_action_id
string<uuid>
required

Identifier of the audited action.

Example:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a01"

Response

OK. The audit action.

action
enum<string>
required

What was done.

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
Example:

"PUT_COLLECTIONS_SETTINGS"

actor
object
required

Who made the action.

id
string<uuid>
required

Identifier of the audited action.

Example:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a01"

occurredAt
string<date-time>
required

When the action happened, RFC 3339 in UTC.

Example:

"2026-11-09T15:04:05Z"

reason
string
required

Reason given for the action.

Required string length: 10 - 500
Example:

"Default agreement template for the new portfolio."

targetId
string<uuid>
required

Identifier of the resource acted on.

Example:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a02"

targetType
enum<string>
required

Kind of resource acted on.

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
Example:

"COLLECTIONS_SETTINGS"

after
object | null

The module's fields after the action. Never personal data or secrets.

before
object | null

The module's fields before the action, null when the action created them. Never personal data or secrets.

evidence
object

Evidence that backs the action, when there is any.

idempotencyKey
string<uuid>

Idempotency-Key of the request that made the action, when it had one.

Example:

"0190f3a4-2b6c-7d8e-9f01-23456789abcd"

organizationId
string<uuid> | null
read-only

Midaz organization of the related account, null when the action relates to none.

Example:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a6b"