Pular para o conteúdo principal
GET
Get an audit trail action

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

audit_action_id
string<uuid>
obrigatório

Identifier of the audited action.

Exemplo:

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

Resposta

OK. The audit action.

action
enum<string>
obrigatório

What was done.

Opções disponíveis:
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
Exemplo:

"PUT_COLLECTIONS_SETTINGS"

actor
object
obrigatório

Who made the action.

id
string<uuid>
obrigatório

Identifier of the audited action.

Exemplo:

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

occurredAt
string<date-time>
obrigatório

When the action happened, RFC 3339 in UTC.

Exemplo:

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

reason
string
obrigatório

Reason given for the action.

Required string length: 10 - 500
Exemplo:

"Default agreement template for the new portfolio."

targetId
string<uuid>
obrigatório

Identifier of the resource acted on.

Exemplo:

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

targetType
enum<string>
obrigatório

Kind of resource acted on.

Opções disponíveis:
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
Exemplo:

"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.

Exemplo:

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

organizationId
string<uuid> | null
read-only

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

Exemplo:

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