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

权限

需要拥有组织级别 ViewAccountMetrics 权限的服务用户。

授权

Authorization
string
header
必填

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

查询参数

time_before
integer
必填
time_after
integer
必填
min_sessions
integer
默认值:1
必填范围: x >= 0
min_searches
integer
默认值:1
必填范围: x >= 0

响应

成功响应

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