Harness Cloud Cost Management Perspectives API

Group and analyze cloud cost data through customizable views.

Operations 5

GET /ccm/api/perspective List perspectives #
POST /ccm/api/perspective Create a perspective #
GET /ccm/api/perspective/{perspectiveId} Get a perspective #
PUT /ccm/api/perspective/{perspectiveId} Update a perspective #
DELETE /ccm/api/perspective/{perspectiveId} Delete a perspective #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/harness-cloud-cost-perspectives-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

harness-cloud-cost-perspectives-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Harness Cloud Cost Management Anomalies Perspectives API
  description: The Harness Cloud Cost Management (CCM) API provides programmatic access to cloud cost data, perspectives, budgets, anomaly detection, and AI-driven recommendations across AWS, Azure, GCP, and Kubernetes environments. CCM enables FinOps practices by exposing granular cost details across namespaces, nodes, pods, accounts, and services.
  version: '1.0'
  contact:
    name: Harness Support
    url: https://developer.harness.io/docs/cloud-cost-management
    email: support@harness.io
  license:
    name: Harness Terms of Service
    url: https://harness.io/legal/terms
servers:
- url: https://app.harness.io
  description: Harness production endpoint
security:
- ApiKeyAuth: []
tags:
- name: Perspectives
  description: Group and analyze cloud cost data through customizable views.
paths:
  /ccm/api/perspective:
    get:
      tags:
      - Perspectives
      summary: List perspectives
      description: Returns a list of cost perspectives configured in the account.
      operationId: listPerspectives
      parameters:
      - $ref: '#/components/parameters/AccountIdentifier'
      responses:
        '200':
          description: A paged list of perspectives.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PerspectiveList'
    post:
      tags:
      - Perspectives
      summary: Create a perspective
      description: Creates a new cost perspective.
      operationId: createPerspective
      parameters:
      - $ref: '#/components/parameters/AccountIdentifier'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Perspective'
      responses:
        '200':
          description: The created perspective.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Perspective'
  /ccm/api/perspective/{perspectiveId}:
    get:
      tags:
      - Perspectives
      summary: Get a perspective
      operationId: getPerspective
      parameters:
      - $ref: '#/components/parameters/AccountIdentifier'
      - name: perspectiveId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: A single perspective.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Perspective'
    put:
      tags:
      - Perspectives
      summary: Update a perspective
      operationId: updatePerspective
      parameters:
      - $ref: '#/components/parameters/AccountIdentifier'
      - name: perspectiveId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Perspective'
      responses:
        '200':
          description: The updated perspective.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Perspective'
    delete:
      tags:
      - Perspectives
      summary: Delete a perspective
      operationId: deletePerspective
      parameters:
      - $ref: '#/components/parameters/AccountIdentifier'
      - name: perspectiveId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Perspective deleted.
components:
  schemas:
    PerspectiveList:
      type: object
      properties:
        totalCount:
          type: integer
        views:
          type: array
          items:
            $ref: '#/components/schemas/Perspective'
    Perspective:
      type: object
      properties:
        uuid:
          type: string
        name:
          type: string
        viewType:
          type: string
          enum:
          - DEFAULT
          - CUSTOMER
          - SAMPLE
        viewState:
          type: string
          enum:
          - DRAFT
          - COMPLETED
        accountId:
          type: string
        folderId:
          type: string
        viewVersion:
          type: string
        viewTimeRange:
          type: object
          properties:
            viewTimeRangeType:
              type: string
              enum:
              - LAST_7
              - LAST_30_DAYS
              - LAST_MONTH
              - CURRENT_MONTH
              - CUSTOM
            startTime:
              type: integer
              format: int64
            endTime:
              type: integer
              format: int64
        dataSources:
          type: array
          items:
            type: string
            enum:
            - CLUSTER
            - AWS
            - GCP
            - AZURE
            - COMMON
            - CUSTOM
            - BUSINESS_MAPPING
            - LABEL
            - LABEL_V2
  parameters:
    AccountIdentifier:
      name: accountIdentifier
      in: query
      required: true
      schema:
        type: string
      description: The Harness account identifier.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Harness Personal Access Token or Service Account API key.