查询密钥管理审计事件
GET
/enterprise/v1/audit/api-key-events使用组织所有者签发的 MANAGEMENT 类型 Admin API Key,携带 Authorization: Bearer <ADMIN_API_KEY> 和 tenant:audit:read scope。组织所有者必须仍为有效企业管理员;不使用推理 Key 或登录 JWT。成功返回 {code:200,data:...}。
可选 limit:1–100,默认 50。data 为近期 API Key 管理事件数组,不是分页对象,也不是完整组织审计日志。字段:action、apiKeyName、operatorDisplayName、createdAt、detail。detail 仅按存在情况返回 key_type、scopes、expires_at、workspace_code、previous_status、new_status、previous_allowed_ips、new_allowed_ips。
此页面对您有帮助吗?