Usage [cost.alauda.io/v1beta1]
/platform/cost.alauda.io/v1beta1/costs/usage
getGet metering and billing total usage
Retrieves metering and billing total usage for platform.
Parameters
start(in query):stringrequiredStart time, example: 2025-06-01
end(in query):stringrequiredEnd time, example: 2025-06-30
step(in query):stringStatistical step, support: day|week|month, default is month
kind(in query):stringStatistical kind, support: project|namespace|cluster|project_all|namespace_all|cluster_all, default is project_all
name(in query):stringStatistical name, relative to Statistical kind
item(in query):stringBilling item, support: Cpu|Memory|Storage, default is Cpu
method(in query):stringBilling method, relative to Billing item, support: Effective|Request|Usage|ProjectQuota, default is Effective
currentPage(in query):integerCurrent page, default is 1
pageSize(in query):integerPage size, default is 20
Response
200CostUsageResponse: Successful response with list of metering and billing usage total400Status: Bad Request503Status: Service unavailable
CostUsageResponse
pageSize:integerPage size
currentPage:integerCurrent page
total:integerTotal items
items:[]CostUsageItem
CostUsageItem
project:stringProject
cluster:stringCluster
namespace:stringNamespace
item:stringBilling item, support: Cpu|Memory|Storage
method:stringBilling method support: Effective|Request|Usage|ProjectQuota
usage:numberUsage
currency:stringCurrency, support: CNY|USD|THB|RUB|AUD|CAD|CHF|DKK|EUR|GBP|IDR|INR|JPY|HKD|SGD
start:stringStart date, example: 20250601
end:stringEnd date, example: 20250630
Status
kind:stringapiVersion:stringmetadata:objectstatus:stringmessage:stringreason:stringcode:integer
/platform/cost.alauda.io/v1beta1/projects/{project}/costs/usage
getGet metering and billing total usage
Retrieves metering and billing total usage for project.
Parameters
project(in path):stringrequiredProject
start(in query):stringrequiredStart time, example: 2025-06-01
end(in query):stringrequiredEnd time, example: 2025-06-30
step(in query):stringStatistical step, support: day|week|month, default is month
kind(in query):stringStatistical kind, support: project|namespace|cluster|project_all|namespace_all|cluster_all, default is project_all
name(in query):stringStatistical name, relative to Statistical kind
item(in query):stringBilling item, support: Cpu|Memory|Storage, default is Cpu
method(in query):stringBilling method, relative to Billing item, support: Effective|Request|Usage|ProjectQuota, default is Effective
currentPage(in query):integerCurrent page, default is 1
pageSize(in query):integerPage size, default is 20
Response
200CostUsageResponse: Successful response with list of metering and billing usage total400Status: Bad Request503Status: Service unavailable
CostUsageResponse
pageSize:integerPage size
currentPage:integerCurrent page
total:integerTotal items
items:[]CostUsageItem
CostUsageItem
project:stringProject
cluster:stringCluster
namespace:stringNamespace
item:stringBilling item, support: Cpu|Memory|Storage
method:stringBilling method support: Effective|Request|Usage|ProjectQuota
usage:numberUsage
currency:stringCurrency, support: CNY|USD|THB|RUB|AUD|CAD|CHF|DKK|EUR|GBP|IDR|INR|JPY|HKD|SGD
start:stringStart date, example: 20250601
end:stringEnd date, example: 20250630
Status
kind:stringapiVersion:stringmetadata:objectstatus:stringmessage:stringreason:stringcode:integer