Ccm Costs
CCM Costs Service returns cloud cost management summaries for workspaces.
Returns aggregated CCM cost data computed from per-resource cost records.
Org is the organisation identifier.
vProject is the project identifier.
x7Workspace identifier
w7kAccount is the internal customer account ID.
wOK response.
Unix timestamp in milliseconds of most recent sync
8718030614094109000Total monthly cost across all resources
0.14938089756212364Total potential monthly savings from recommendations
0.11393780116473703Total cost from previous billing period
0.3598416131850416Number of resources with savings opportunities
2764561745485669000Total resources with cost data
5390285586074421000BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
GET /api/orgs/{org}/projects/{project}/workspaces/{workspace}/ccm-costs HTTP/1.1
Host: localhost:80
Harness-Account: w
Accept: */*
{
"last_synced_at": 8033407983492761000,
"monthly_cost": 0.09070405143933867,
"monthly_saving": 0.23128491206448415,
"previous_monthly_cost": 0.40040040721202985,
"recommendation_count": 6314468302846399000,
"resource_count": 4753401832934524000
}Last updated
Was this helpful?