Pular para o conteúdo principal
GET
/
v1
/
governance
/
audit-logs
/
{id}
Get audit log by ID
curl --request GET \
  --url https://matcher.sandbox.lerian.net/v1/governance/audit-logs/{id} \
  --header 'Authorization: Bearer <token>'
{
  "action": "CREATE",
  "actorId": "user@example.com",
  "changes": [
    123
  ],
  "createdAt": "2025-01-15T10:30:00.000Z",
  "entityId": "019c96a0-10a0-72d2-9fb0-2b7de8093182",
  "entityType": "reconciliation_context",
  "id": "019c96a0-0b61-71a2-8595-dde786b5bcc6",
  "tenantId": "019c96a0-0a98-7287-9a31-786e0809c769",
  "truncated": false,
  "originalSize": 0
}

Documentation Index

Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt

Use this file to discover all available pages before exploring further.

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.

Immutable audit log entry for governance tracking

action
string

Action that was performed

Exemplo:

"CREATE"

actorId
string

ID of the actor who performed the action

Exemplo:

"user@example.com"

changes
integer[]

Changes made to the entity

createdAt
string

Creation timestamp in RFC3339 format

Exemplo:

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

entityId
string

ID of the entity that was modified

Exemplo:

"019c96a0-10a0-72d2-9fb0-2b7de8093182"

entityType
string

Type of entity that was modified

Exemplo:

"reconciliation_context"

id
string

Unique identifier for the audit log entry

Exemplo:

"019c96a0-0b61-71a2-8595-dde786b5bcc6"

tenantId
string

Tenant ID that owns this audit log entry

Exemplo:

"019c96a0-0a98-7287-9a31-786e0809c769"

truncated
boolean

True when the original audit diff exceeded the payload cap and was replaced with a truncation marker

Exemplo:

false

originalSize
integer<int64>

Byte size of the original diff before truncation; zero when not truncated

Exemplo:

0