Get deployments costs for the organization
开发环境
http://127.0.0.1
开发环境
http://127.0.0.1
GET
/billing/costs/{organization_id}/deployments
BillingCostsAnalysis
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1/billing/costs//deployments' \
--header 'Authorization: ApiKey {{EC_API_KEY}}'
响应示例响应示例
200 - 示例 1
{
"total_cost": 0,
"deployments": [
{
"deployment_id": "string",
"costs": {
"total": 0,
"resources": 0,
"data_transfer_and_storage": 0
},
"deployment_name": "string",
"hourly_rate": 0
}
]
}
请求参数
Path 参数
organization_id
必需
Query 参数
from
可选
to
可选
Header 参数
Authorization
string
可选
默认值:
ApiKey {{EC_API_KEY}}