audit-logs

List audit log entries

List audit log entries visible to the caller, filtered and paginated.

Authorization is org-scoped by AuditLogService (org members see their own organization's entries). total reflects the same scope and filters as the returned page. The page and its total are read under one authorization plan (get_page) rather than two separate get / count calls.

Args: db (AsyncSession): Request-scoped database session. context (ActiveContext): Resolved caller identity and scope. query (AuditLogListQuery): Filters + pagination query params. pager (Paginator): Fills the response's navigation metadata.

Returns: AuditLogListResponse: The authorized, paginated audit log list.

get/v1/audit-logs/

Request

  • Base URL
    https://api.ethiack.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Query parameters

pageinteger
per_pageinteger

Page size. Values above 500 are clamped to it (or rejected, per REST__PAGINATION__PER_PAGE_OVER_MAX).

organization_idinteger nullable
operationstring nullable
operation_categorystring nullable
statusstring nullable
actor_idstring nullable
actor_kindstring nullable
resource_typestring nullable
resource_idstring nullable
start_datestring date-time nullable
end_datestring date-time nullable

Response

Successful Response

totalinteger required

Total number of matching audit logs

pageinteger required

Current page number

per_pageinteger required

Number of items per page

_linksobject nullable

RFC 8288 rel to URL. Always first; last unless the route opted out of counting; prev and next when applicable.

Changes

No recorded changes to this operation across all 1 revision of this API.