Facets UI Cloud Cost Explorer Controller API

The ui-cloud-cost-explorer-controller API from Facets — 4 operation(s) for ui-cloud-cost-explorer-controller.

Operations 4

GET /cc-ui/v1/cost-explorer/aws/enabled Is aws cost explorer enabled #
GET /cc-ui/v1/cost-explorer/service-wise-cost/{clusterId} Get service wise cost #
GET /cc-ui/v1/cost-explorer/stack/{stackName}/daily-cost Get daily cloud cost #
GET /cc-ui/v1/cost-explorer/sync-cost Sync cloud cost #

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/facets-ui-cloud-cost-explorer-controller-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

facets-ui-cloud-cost-explorer-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: API Documentation
  title: Control-plane UI Cloud Cost Explorer Controller API
  version: '1.0'
servers:
- url: https://facetsdemo.console.facets.cloud
  description: Generated server url
security:
- basicAuth: []
tags:
- name: ui-cloud-cost-explorer-controller
paths:
  /cc-ui/v1/cost-explorer/aws/enabled:
    get:
      operationId: isAwsCostExplorerEnabled
      responses:
        '200':
          content:
            application/json:
              schema:
                type: boolean
          description: OK
        '400':
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/ErrorDetails'
                - $ref: '#/components/schemas/GithubAppPermissionsPendingErrorDetails'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                type: string
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Not Found
        '405':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Method Not Allowed
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Conflict
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Internal Server Error
      tags:
      - ui-cloud-cost-explorer-controller
      summary: Is aws cost explorer enabled
      x-summary-source: derived
  /cc-ui/v1/cost-explorer/service-wise-cost/{clusterId}:
    get:
      operationId: getServiceWiseCost
      parameters:
      - in: path
        name: clusterId
        required: true
        schema:
          type: string
      - in: query
        name: start
        required: true
        schema:
          type: string
          format: date
      - in: query
        name: end
        required: true
        schema:
          type: string
          format: date
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DailyCost'
          description: OK
        '400':
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/ErrorDetails'
                - $ref: '#/components/schemas/GithubAppPermissionsPendingErrorDetails'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                type: string
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Not Found
        '405':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Method Not Allowed
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Conflict
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Internal Server Error
      tags:
      - ui-cloud-cost-explorer-controller
      summary: Get service wise cost
      x-summary-source: derived
  /cc-ui/v1/cost-explorer/stack/{stackName}/daily-cost:
    get:
      operationId: getDailyCloudCost
      parameters:
      - in: path
        name: stackName
        required: true
        schema:
          type: string
      - in: query
        name: start
        required: true
        schema:
          type: string
          format: date
      - in: query
        name: end
        required: true
        schema:
          type: string
          format: date
      - in: query
        name: clusterIds
        required: false
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DailyCloudCostDTO'
          description: OK
        '400':
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/ErrorDetails'
                - $ref: '#/components/schemas/GithubAppPermissionsPendingErrorDetails'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                type: string
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Not Found
        '405':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Method Not Allowed
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Conflict
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Internal Server Error
      tags:
      - ui-cloud-cost-explorer-controller
      summary: Get daily cloud cost
      x-summary-source: derived
  /cc-ui/v1/cost-explorer/sync-cost:
    get:
      operationId: syncCloudCost
      responses:
        '200':
          description: OK
        '400':
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/ErrorDetails'
                - $ref: '#/components/schemas/GithubAppPermissionsPendingErrorDetails'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                type: string
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Not Found
        '405':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Method Not Allowed
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Conflict
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetails'
          description: Internal Server Error
      tags:
      - ui-cloud-cost-explorer-controller
      summary: Sync cloud cost
      x-summary-source: derived
components:
  schemas:
    DailyCloudCostDTO:
      type: object
      properties:
        dailyCost:
          type: array
          items:
            $ref: '#/components/schemas/ClusterCostDTO'
        lastSync:
          type: string
          format: date-time
        previousPeriodTotal:
          type: number
          format: double
        serviceCost:
          type: array
          items:
            $ref: '#/components/schemas/ServiceCostDTO'
        stackName:
          type: string
        total:
          type: number
          format: double
        unit:
          type: string
    ClusterCostDTO:
      type: object
      properties:
        clusterId:
          type: string
        clusterName:
          type: string
        costs:
          type: array
          items:
            $ref: '#/components/schemas/CostDTO'
        total:
          type: number
          format: double
    DailyCost:
      type: object
      properties:
        amount:
          type: number
          format: double
        date:
          type: string
          format: date
        perServiceCost:
          type: array
          items:
            $ref: '#/components/schemas/ServiceCost'
        unit:
          type: string
    ServiceCostDTO:
      type: object
      properties:
        cost:
          type: number
          format: double
        previousCost:
          type: number
          format: double
        serviceName:
          type: string
    ErrorDetails:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
    GithubAppPermissionsPendingErrorDetails:
      type: object
      properties:
        approvalUrl:
          type: string
        code:
          type: string
        errorCode:
          type: string
        message:
          type: string
        missingPermissions:
          type: array
          items:
            type: string
    CostDTO:
      type: object
      properties:
        amount:
          type: number
          format: double
        date:
          type: string
          format: date-time
        serviceCost:
          type: array
          items:
            $ref: '#/components/schemas/ServiceCostDTO'
    ServiceCost:
      type: object
      properties:
        cost:
          type: number
          format: double
        currency:
          type: string
        date:
          type: string
          format: date
        serviceName:
          type: string
  securitySchemes:
    basicAuth:
      description: Basic Authentication
      scheme: basic
      type: http