跳转到主要内容
GET
/
v2
/
enterprise
/
audit-logs
获取审计日志
curl --request GET \
  --url https://api.devin.ai/v2/enterprise/audit-logs \
  --header 'Authorization: Bearer <token>'
{
  "audit_logs": [
    {
      "audit_log_id": "<string>"
    }
  ]
}
需要企业管理员的个人 API key。

授权

Authorization
string
header
必填

仅供 Enterprise 管理员使用的个人 API Key(apk_user_*)

查询参数

before
string | null
after
string | null
limit
integer
默认值:100

响应

成功的响应

包含审计日志的响应。

audit_logs
AuditLogEntry · object[]
必填