跳转到主要内容
GET
/
v2
/
enterprise
/
consumption
/
cycles
用量周期 API 端点
curl --request GET \
  --url https://api.devin.ai/v2/enterprise/consumption/cycles \
  --header 'Authorization: Bearer <token>'
[
  {
    "end": "2023-11-07T05:31:56Z",
    "start": "2023-11-07T05:31:56Z"
  }
]
需要 Enterprise 管理员的个人 API key。 返回自您的 Enterprise 账户创建以来至今的所有计费周期列表。

授权

Authorization
string
header
必填

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

响应

200 - application/json

成功响应

end
string<date-time>
必填
start
string<date-time>
必填