CloudHealth REST API

REST API at https://chapi.cloudhealthtech.com for managing AWS/Azure accounts, generating OLAP cost and usage reports, querying assets, managing perspectives (groupings), tagging, metrics ingest/query, policies, and partner-tenant provisioning. Authentication uses Bearer tokens issued from the CloudHealth UI.

OpenAPI Specification

cloudhealth-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: CloudHealth REST API
  description: >-
    The CloudHealth REST API provides programmatic access to multi-cloud
    cost management, AWS account configuration, perspectives (groupings),
    OLAP cost reports, asset search, and SSO configuration. Authentication
    uses Bearer tokens issued from the CloudHealth UI.
  version: 1.0.0
  contact:
    name: CloudHealth Support
    url: https://apidocs.cloudhealthtech.com/
  license:
    name: Proprietary
    url: https://www.broadcom.com/company/legal/terms-of-use
x-generated-from: https://apidocs.cloudhealthtech.com/
x-generated-by: claude-crawl-2026-05-08
servers:
  - url: https://chapi.cloudhealthtech.com
    description: CloudHealth REST API
security:
  - bearerAuth: []
tags:
  - name: AWS Accounts
    description: AWS account configuration management.
  - name: Perspectives
    description: Perspective (grouping) management.
  - name: Reports
    description: OLAP cost and usage reports.
  - name: Search
    description: Asset search.
  - name: SSO
    description: Single sign-on configuration.
paths:
  /v1/aws_accounts:
    get:
      operationId: listAwsAccounts
      summary: List AWS accounts
      description: Retrieve all configured AWS accounts with pagination support.
      tags:
        - AWS Accounts
      parameters:
        - name: page
          in: query
          schema:
            type: integer
        - name: per_page
          in: query
          schema:
            type: integer
      responses:
        '200':
          description: List of AWS accounts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericResponse'
    post:
      operationId: enableAwsAccount
      summary: Enable an AWS account
      description: Enable an AWS Account in the CloudHealth Platform.
      tags:
        - AWS Accounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenericRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericResponse'
  /v1/aws_accounts/{id}:
    get:
      operationId: getAwsAccount
      summary: Get an AWS account
      description: Fetch details for a single AWS account by ID.
      tags:
        - AWS Accounts
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: AWS account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericResponse'
    put:
      operationId: updateAwsAccount
      summary: Update an AWS account
      description: Modify attributes of an existing AWS account configuration.
      tags:
        - AWS Accounts
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenericRequest'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericResponse'
    delete:
      operationId: deleteAwsAccount
      summary: Delete an AWS account
      description: Remove an AWS account from the CloudHealth platform.
      tags:
        - AWS Accounts
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '204':
          description: Deleted
  /v1/perspective_schemas:
    get:
      operationId: listPerspectives
      summary: List perspective schemas
      description: Retrieve a list of all Perspectives you have created.
      tags:
        - Perspectives
      responses:
        '200':
          description: Perspective list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericResponse'
    post:
      operationId: createPerspective
      summary: Create a perspective
      description: Create a new perspective with associated schema.
      tags:
        - Perspectives
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenericRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericResponse'
  /olap_reports/cost/history:
    get:
      operationId: costHistoryReport
      summary: Cost history report
      description: Query the Cost History report with customizable dimensions and measures.
      tags:
        - Reports
      parameters:
        - name: dimensions
          in: query
          schema:
            type: string
        - name: measures
          in: query
          schema:
            type: string
        - name: interval
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Cost history result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericResponse'
  /api/search:
    get:
      operationId: searchAssets
      summary: Search assets
      description: Build a search query that retrieves assets that match specific criteria.
      tags:
        - Search
      parameters:
        - name: name
          in: query
          schema:
            type: string
        - name: query
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Search results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericResponse'
  /v1/sso/configuration:
    get:
      operationId: getSsoConfiguration
      summary: Get SSO configuration
      description: Retrieve existing SSO configuration settings.
      tags:
        - SSO
      responses:
        '200':
          description: SSO configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericResponse'
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Bearer token issued from the CloudHealth UI.
  schemas:
    GenericRequest:
      type: object
      additionalProperties: true
    GenericResponse:
      type: object
      additionalProperties: true