v1

latestOpenAPI 3.1.02026-07-263644911022.4 KB
Governance

List audit logs by entity

Use this endpoint to retrieve all audit log entries for a specific entity. The results are ordered by creation time descending. This allows you to trace the complete change history of any entity in the system.

get/v1/governance/entities/{entityType}/{entityId}/audit-logs

Path parameters

entityTypestring required

Entity type

entityIdstring uuid required

Entity ID

Query parameters

limitinteger

The maximum number of items to include in the response.

cursorstring

The cursor value for retrieving the next page of results.

Headers

X-Request-Idstring

A unique identifier for tracing the request across services.

Response

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

hasMoreboolean
limitinteger
nextCursorstring
prevCursorstring

Example response

{
  "hasMore": true,
  "items": [
    {
      "action": "CREATE",
      "actorId": "user@example.com",
      "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"
    }
  ],
  "limit": 20,
  "nextCursor": "eyJpZCI6IjEyMyJ9",
  "prevCursor": "eyJpZCI6IjEyMiJ9"
}