跳转到主要内容
GET
/
v3beta1
/
enterprise
/
metrics
/
dau
获取每日活跃用户数
curl --request GET \
  --url https://api.devin.ai/v3beta1/enterprise/metrics/dau \
  --header 'Authorization: Bearer <token>'
[
  {
    "active_users": 123,
    "end_time": 123,
    "start_time": 123
  }
]

权限

需要在 Enterprise 层级拥有 ViewAccountMetrics 权限的服务用户。

授权

Authorization
string
header
必填

服务用户凭据(前缀:cog_)

查询参数

time_before
integer
必填
time_after
integer
必填
org_ids
string[] | null
min_sessions
integer
默认值:1
必填范围: x >= 0
min_searches
integer
默认值:1
必填范围: x >= 0

响应

成功响应

active_users
integer
必填
end_time
integer
必填
start_time
integer
必填