Get costs overview for the organization
开发环境
http://127.0.0.1
开发环境
http://127.0.0.1
GET
/billing/costs/{organization_id}
BillingCostsAnalysis
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1/billing/costs/' \
--header 'Authorization: ApiKey {{EC_API_KEY}}'
响应示例响应示例
200 - 示例 1
{
"trials": 0,
"costs": {
"total": 0,
"resources": 0,
"data_transfer_and_storage": 0
},
"balance": {
"available": 0,
"line_items": [
{
"start": "2019-08-24T14:15:22Z",
"ecu_balance": 0,
"end": "2019-08-24T14:15:22Z",
"id": "string",
"ecu_quantity": 0
}
],
"remaining": 0
},
"hourly_rate": 0
}
请求参数
Path 参数
organization_id
必需
Query 参数
from
可选
to
可选
Header 参数
Authorization
string
可选
默认值:
ApiKey {{EC_API_KEY}}