Skip to content

Audit

AuditService provides access to audit logs for admin operations

Base path: /audit

ListAuditLogs retrieves audit logs with optional filtering Filters use AND logic: all provided filters must match No filters = timeline (all logs, most efficient) Operation filter only = uses GSI2 index (efficient) Actor filters = both actor_type and actor_id required (uses GSI3, efficient) Both operation and actor = uses GSI2 + client-side actor filtering (less efficient)

Request (ListAuditLogsRequest)

FieldTypeDescription
operationstring?
actorActorFilter?
page_sizeint32?
page_tokenstring?

Response (ListAuditLogsResponse)

FieldTypeDescription
logsAuditLog[]
next_page_tokenstring

ListActors returns all actors of a specific type with pagination

Request (ListActorsRequest)

FieldTypeDescription
actor_typeActorType
page_sizeint32?
page_tokenstring?

Response (ListActorsResponse)

FieldTypeDescription
actorsActorEntry[]
next_page_tokenstring

ListOperations returns all available operations that have audit logs

Request (ListOperationsRequest)

No fields.

Response (ListOperationsResponse)

FieldTypeDescription
operationsstring[]