Pular para o conteúdo principal
GET
Get audit log by ID

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication (format: "Bearer {token}")

Cabeçalhos

X-Request-Id
string

A unique identifier for tracing the request across services.

Parâmetros de caminho

id
string<uuid>
obrigatório

Audit Log ID

Resposta

Indicates that the request was successful and the response contains the expected data.

action
string
obrigatório

Action that was performed on the entity (e.g. CREATE, UPDATE, DELETE)

Exemplo:

"CREATE"

changes
array
obrigatório

JSON diff of the changes made to the entity; when the diff exceeded the outbox payload cap this carries a truncation marker envelope instead of the full diff (see truncated and originalSize)

Maximum array length: 10000
createdAt
string
obrigatório

Creation timestamp in RFC 3339 format (UTC)

Exemplo:

"2025-01-15T10:30:00Z"

entityId
string
obrigatório

Identifier (UUID) of the entity that was modified

Exemplo:

"550e8400-e29b-41d4-a716-446655440002"

entityType
string
obrigatório

Type of entity that was modified (e.g. reconciliation_context, match_rule)

Exemplo:

"reconciliation_context"

hashVersion
integer<int32>
obrigatório

Version of the canonicalization scheme used to compute recordHash

Exemplo:

1

id
string
obrigatório

Unique identifier (UUID) for the audit log entry

Exemplo:

"550e8400-e29b-41d4-a716-446655440000"

originalSize
integer<int64>
obrigatório

Byte size of the original diff before truncation; zero when truncated is false or the marker was malformed

Exemplo:

0

prevHash
string
obrigatório

Lowercase-hex SHA-256 hash of the previous record; the genesis record links to 32 zero bytes

Exemplo:

"0000000000000000000000000000000000000000000000000000000000000000"

recordHash
string
obrigatório

Lowercase-hex SHA-256 hash of this record: SHA-256(prevHash || canonical content); empty for pre-hash-chain records

Exemplo:

"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"

tenantId
string
obrigatório

Tenant ID (UUID) that owns this audit log entry

Exemplo:

"550e8400-e29b-41d4-a716-446655440001"

tenantSeq
integer<int64>
obrigatório

1-based monotonic position of this entry within its tenant's audit hash chain

Exemplo:

42

truncated
boolean
obrigatório

True when the original audit diff exceeded the outbox payload cap and was replaced with a truncation marker; consumers should treat changes as a metadata envelope, not the full diff, in this case

Exemplo:

false

actorId
string

Identifier of the actor who performed the action; absent for system-originated changes

Exemplo:

"user@example.com"