跳转到主要内容
GET
/
v2
/
enterprise
/
consumption
/
cycles
Consumption Cycles Endpoint
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 账户创建以来至今的所有计费周期列表。

Authorizations

Authorization
string
header
required

Personal API Key (apk_user_*) for Enterprise Admins only

Response

200 - application/json

Successful Response

end
string<date-time>
required
start
string<date-time>
required