Perspective Reports
Manage cost reports created on Perspectives.
Fetch cost Report details for the given Report ID or a Perspective ID.
Account Identifier for the Entity.
Unique identifier for the Perspective
Unique identifier for the Report
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns a list of Report Schedules
GET /gateway/ccm/api/perspectiveReport/{accountIdentifier} HTTP/1.1
Host: nextgen-ce-66b6b78845-qll9w
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Create a report schedule for the given Report ID or a Perspective ID.
Account Identifier for the Entity.
Cloud Cost Report Schedule contains definition of 'how often' and 'to whom' the Report will be sent
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns a list of Report Schedules
POST /gateway/ccm/api/perspectiveReport/{accountIdentifier} HTTP/1.1
Host: nextgen-ce-66b6b78845-qll9w
Content-Type: application/json
Accept: */*
Content-Length: 1274
{
"uuid": "text",
"name": "text",
"enabled": true,
"description": "text",
"viewsId": [
"text"
],
"userCron": "text",
"recipients": [
"text"
],
"accountId": "text",
"groupBy": [
{
"entityGroupBy": {
"fieldId": "text",
"fieldName": "text",
"identifier": "CLUSTER",
"identifierName": "text"
},
"timeTruncGroupBy": {
"resolution": "HOUR"
}
}
],
"filters": [
{
"idFilter": {
"field": {
"fieldId": "text",
"fieldName": "text",
"identifier": "CLUSTER",
"identifierName": "text"
},
"operator": "NOT_IN",
"values": [
"text"
]
},
"timeFilter": {
"field": {
"fieldId": "text",
"fieldName": "text",
"identifier": "CLUSTER",
"identifierName": "text"
},
"operator": "AFTER",
"value": 1
},
"timeRangeTypeFilter": "LAST_MONTH",
"viewMetadataFilter": {
"viewId": "text",
"isPreview": true,
"preview": true
},
"ruleFilter": {
"conditions": [
{
"field": {
"fieldId": "text",
"fieldName": "text",
"identifier": "CLUSTER",
"identifierName": "text"
},
"operator": "NOT_IN",
"values": [
"text"
]
}
]
}
}
],
"viewTimeRange": {
"viewTimeRangeType": "LAST_7",
"startTime": 1,
"endTime": 1
},
"dataColumns": [
"text"
],
"exportRowsUpTo": 1,
"excludeRowsWithCostBelow": 1,
"createdAt": 1,
"lastUpdatedAt": 1,
"userCronTimeZone": "text",
"createdBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"lastUpdatedBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"nextExecution": "2026-01-01T00:00:00.000Z"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Update cost Perspective Reports.
Account Identifier for the Entity.
Cloud Cost Report Schedule contains definition of 'how often' and 'to whom' the Report will be sent
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns a list of Report Schedules
PUT /gateway/ccm/api/perspectiveReport/{accountIdentifier} HTTP/1.1
Host: nextgen-ce-66b6b78845-qll9w
Content-Type: application/json
Accept: */*
Content-Length: 1274
{
"uuid": "text",
"name": "text",
"enabled": true,
"description": "text",
"viewsId": [
"text"
],
"userCron": "text",
"recipients": [
"text"
],
"accountId": "text",
"groupBy": [
{
"entityGroupBy": {
"fieldId": "text",
"fieldName": "text",
"identifier": "CLUSTER",
"identifierName": "text"
},
"timeTruncGroupBy": {
"resolution": "HOUR"
}
}
],
"filters": [
{
"idFilter": {
"field": {
"fieldId": "text",
"fieldName": "text",
"identifier": "CLUSTER",
"identifierName": "text"
},
"operator": "NOT_IN",
"values": [
"text"
]
},
"timeFilter": {
"field": {
"fieldId": "text",
"fieldName": "text",
"identifier": "CLUSTER",
"identifierName": "text"
},
"operator": "AFTER",
"value": 1
},
"timeRangeTypeFilter": "LAST_MONTH",
"viewMetadataFilter": {
"viewId": "text",
"isPreview": true,
"preview": true
},
"ruleFilter": {
"conditions": [
{
"field": {
"fieldId": "text",
"fieldName": "text",
"identifier": "CLUSTER",
"identifierName": "text"
},
"operator": "NOT_IN",
"values": [
"text"
]
}
]
}
}
],
"viewTimeRange": {
"viewTimeRangeType": "LAST_7",
"startTime": 1,
"endTime": 1
},
"dataColumns": [
"text"
],
"exportRowsUpTo": 1,
"excludeRowsWithCostBelow": 1,
"createdAt": 1,
"lastUpdatedAt": 1,
"userCronTimeZone": "text",
"createdBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"lastUpdatedBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"nextExecution": "2026-01-01T00:00:00.000Z"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Delete cost Perspective Report for the given Report ID or a Perspective ID.
Account Identifier for the Entity.
Unique identifier for the Report
Unique identifier for the Perspective
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns a generic string message when the operation is successful
DELETE /gateway/ccm/api/perspectiveReport/{accountIdentifier} HTTP/1.1
Host: nextgen-ce-66b6b78845-qll9w
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Fetch cost Report details accessible to a user.
Account Identifier for the Entity.
The query object for perspective report filters
Perspective Ids
The search text entered to filter out reports by name
Query Offset
Query Limit
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns a list of Report Schedules
POST /gateway/ccm/api/perspectiveReport/getAllReports?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-66b6b78845-qll9w
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"perspectiveIds": [
"text"
],
"searchText": "text",
"offset": 1,
"limit": 1
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Send mail based on reportId.
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns a boolean indicating if the mail was sent or not
POST /gateway/ccm/api/perspectiveReport/sendMail?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-66b6b78845-qll9w
Content-Type: application/json
Accept: */*
Content-Length: 1368
{
"reportId": "text",
"perspectiveId": "text",
"ceReportScheduleDTO": {
"uuid": "text",
"name": "text",
"enabled": true,
"description": "text",
"perspectiveId": "text",
"perspectiveName": "text",
"userCron": "text",
"viewTimeRange": {
"viewTimeRangeType": "LAST_7",
"startTime": 1,
"endTime": 1
},
"recipients": [
"text"
],
"accountId": "text",
"filters": [
{
"idFilter": {
"field": {
"fieldId": "text",
"fieldName": "text",
"identifier": "CLUSTER",
"identifierName": "text"
},
"operator": "NOT_IN",
"values": [
"text"
]
},
"timeFilter": {
"field": {
"fieldId": "text",
"fieldName": "text",
"identifier": "CLUSTER",
"identifierName": "text"
},
"operator": "AFTER",
"value": 1
},
"timeRangeTypeFilter": "LAST_MONTH",
"viewMetadataFilter": {
"viewId": "text",
"isPreview": true,
"preview": true
},
"ruleFilter": {
"conditions": [
{
"field": {
"fieldId": "text",
"fieldName": "text",
"identifier": "CLUSTER",
"identifierName": "text"
},
"operator": "NOT_IN",
"values": [
"text"
]
}
]
}
}
],
"dataColumns": [
"text"
],
"groupBy": [
{
"entityGroupBy": {
"fieldId": "text",
"fieldName": "text",
"identifier": "CLUSTER",
"identifierName": "text"
},
"timeTruncGroupBy": {
"resolution": "HOUR"
}
}
],
"exportRowsUpTo": 1,
"excludeRowsWithCostBelow": 1,
"createdAt": 1,
"lastUpdatedAt": 1,
"userCronTimeZone": "text",
"createdBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"lastUpdatedBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"nextExecution": "2026-01-01T00:00:00.000Z"
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?