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.
fa2Project is the project identifier.
xu3Workspace identifier
ncAccount is the internal customer account ID.
iOK response.
Unix timestamp in milliseconds of most recent sync
6284534752533549000Total monthly cost across all resources
0.7177401096467453Total potential monthly savings from recommendations
0.3247266066503416Total cost from previous billing period
0.23546906656090577Number of resources with savings opportunities
2582905335885270500Total resources with cost data
6242799787222533000BadRequestError: 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: i
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?