Skip to main content
GET
用户每日用量接口
需要企业管理员的个人 API key。 返回你所在企业账户中指定用户的每日 ACU 使用量数据。

时区行为

计费周期以 太平洋标准时间 (PST) 午夜 作为日期边界,对应 UTC 时间 08:00:00。要与 Devin 仪表板中显示的使用量数据保持一致,必须提供带有该时区偏移量的时间戳。详情和示例请参见 Daily Consumption

按组织过滤

org_ids 过滤时,结果会包含计入指定组织的所有 ACU:包括 Devin session ACU,以及计入每位用户主要计费组织的 Devin Desktop 和 Devin CLI ACU。有关用户主要计费组织的解析方式,请参阅 Local Agent 控制

授权

Authorization
string
header
必填

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

路径参数

user_id
string
必填

查询参数

start_date
string<date-time> | null
end_date
string<date-time> | null
start
string<date-time> | null
end
string<date-time> | null
org_ids
string[] | null

响应

成功的响应

consumption_by_date
Consumption By Date · object
必填
consumption_by_org_id
Consumption By Org Id · object
必填
total_acus
number
必填