审计日志

获取平台审计日志

Changed on

返回 system-scope(tenant_id=0)的审计事件,覆盖 system.setting_changed / system.admin_promoted / system.admin_revoked 等 SystemAdmin 操作。按 id 倒序的游标分页。

get/system/admin/audit-log

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/system/admin/audit-log
  • Auth
    • API key in header Authorization
    • or API key in header X-API-Key

Query parameters

after_idinteger

游标:返回 id 小于此值的记录(默认从最新开始)

limitinteger

页大小,1-100,默认 50

actionstring

按 action 精确过滤(如 system.setting_changed)

outcomestring

按 outcome 精确过滤(success / denied)

actorstring

按 actor_user_id 精确过滤

Response

OK

next_cursorinteger

NextCursor is the id of the last entry on this page, 0 when it is empty.

successboolean

Changes