Gets workloads datatransfer costsAsk AIpost https://api.cast.ai/v1/cost-reports/clusters/{clusterId}/datatransfer-costsPath ParamsclusterIdstringrequiredID of the cluster.Query ParamsstartTimedate-timerequiredFilter items to include from specified time.endTimedate-timerequiredFilter items to include up to specified time.stepSecondsint32Aggregate items in specified interval steps.page.limitstringpage.cursorstringCursor that defines token indicating where to start the next page. Empty value indicates to start from beginning of the dataset.sort.fieldstringName of the field you want to sortsort.orderstringenumDefaults to ASCThe sort order, possible values ASC or DESC, if not provided asc is the default ASC: ASC asc: desc DESC: ASC desc: desc ASCascDESCdescAllowed:ASCascDESCdescuseListingPricesbooleanWhether to use listing prices instead of actual prices for cost calculations.truefalseincludeDestinationsbooleanWhether to include destination addresses in the response.truefalseBody ParamsFilter workloads by labels or names.labelsarray of objectslabelsADD objectworkloadNamesarray of stringsworkloadNamesADD stringlabelsOperatorstringenumDefaults to ORORANDAllowed:ORANDworkloadTypesarray of stringsworkloadTypesADD stringnamespacesarray of stringsnamespacesADD stringResponse 200A successful response.Updated 7 months ago