响应
计费周期的开始日期和时间
计费周期的结束日期和时间
curl -X GET "https://api.devin.ai/v2/enterprise/consumption/cycles" \
-H "Authorization: Bearer YOUR_API_KEY"
[
{
"start": "2024-01-01T00:00:00Z",
"end": "2024-01-31T23:59:59Z"
},
{
"start": "2024-02-01T00:00:00Z",
"end": "2024-02-29T23:59:59Z"
},
{
"start": "2024-03-01T00:00:00Z",
"end": "2024-03-31T23:59:59Z"
}
]
返回企业所有计费周期的列表
curl -X GET "https://api.devin.ai/v2/enterprise/consumption/cycles" \
-H "Authorization: Bearer YOUR_API_KEY"
[
{
"start": "2024-01-01T00:00:00Z",
"end": "2024-01-31T23:59:59Z"
},
{
"start": "2024-02-01T00:00:00Z",
"end": "2024-02-29T23:59:59Z"
},
{
"start": "2024-03-01T00:00:00Z",
"end": "2024-03-31T23:59:59Z"
}
]
curl -X GET "https://api.devin.ai/v2/enterprise/consumption/cycles" \
-H "Authorization: Bearer YOUR_API_KEY"
[
{
"start": "2024-01-01T00:00:00Z",
"end": "2024-01-31T23:59:59Z"
},
{
"start": "2024-02-01T00:00:00Z",
"end": "2024-02-29T23:59:59Z"
},
{
"start": "2024-03-01T00:00:00Z",
"end": "2024-03-31T23:59:59Z"
}
]