Admin: Audit

The audit trail, newest first. Needs the capability Permission audit.read on the Staff Role even for an administrator, and is itself recorded as a read of personal data: records carry addresses and old values.

get/api/admin/audit_records

Request

  • The document declares no server URL.
  • Auth: API key in cookie session

Query parameters

pageinteger
perPageinteger
actorUserIdinteger
channel'web' | 'mcp'
operationstring
entityTypestring
entityIdstring
fromstring date-time

Start of the window (inclusive).

tostring date-time

End of the window (exclusive).

Response

The request has succeeded.

totalinteger required

Total rows across all pages (before pagination).

pageinteger required

1-based page number this response represents.

perPageinteger required

Page size used for this response.

Changes

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added