v1

latestSwagger 2.02026-07-17312885.5 KB
Costs

Get user costs

Get user costs within a specified time range

post/account/v1alpha1/costs

Request body

appNamestring

@Summary App Name @Description App Name

appTypestring

@Summary App type @Description App type

endTimestring
kubeConfigstring
namespacestring

@Summary Namespace @Description Namespace

ownerstring
startTimestring
tokenstring
userIDstring
userUIDstring

Example request

{
  "appName": "app",
  "appType": "app",
  "endTime": "2021-12-01T00:00:00Z",
  "namespace": "ns-admin",
  "owner": "admin",
  "startTime": "2021-01-01T00:00:00Z",
  "token": "token",
  "userID": "admin",
  "userUID": "user-123"
}

Response

successfully retrieved user costs

object required