IBM Turbonomic Sustainability API

The Sustainability API from IBM Turbonomic — 3 operation(s) for sustainability.

GitHub OpenAPI

Operations 3

POST /sustainability Get a collection of sustainability metrics. #
POST /sustainability/entities/{entity_Uuid} Get a collection of sustainability metrics for a given Entity. #
POST /sustainability/groups/{group_Uuid} Get a collection of sustainability metrics for a given Group. #

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/turbonomic:turbonomic-sustainability-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

turbonomic-sustainability-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Turbonomic Sustainability API
  version: v3
  description: 'Operations tagged Sustainability across 2 of this provider''s published API definitions: turbonomic-external-api-swagger.json, turbonomic-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api/v3
- url: https://{turbonomic_host}/api/v3
  description: 'Your Turbonomic instance (public sandbox: try.turbonomic.io)'
  variables:
    turbonomic_host:
      default: try.turbonomic.io
      description: Hostname of your Turbonomic instance
tags:
- name: Sustainability
paths:
  /sustainability:
    post:
      tags:
      - Sustainability
      summary: Get a collection of sustainability metrics.
      description: ''
      operationId: getCloudSustainabilityMetrics
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StatSnapshotApiDTO'
        '400':
          description: Bad Request
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SustainabilityInputApiDTO'
        description: Filters and groupings applied to sustainability metrics
    servers:
    - url: /api/v3
  /sustainability/entities/{entity_Uuid}:
    post:
      tags:
      - Sustainability
      summary: Get a collection of sustainability metrics for a given Entity.
      description: ''
      operationId: getCloudSustainabilityEntityMetrics
      parameters:
      - name: entity_Uuid
        in: path
        description: The Uuid of the entity
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StatSnapshotApiDTO'
        '400':
          description: Bad Request
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SustainabilityInputApiDTO'
        description: Filters and groupings applied to sustainability metrics
    servers:
    - url: /api/v3
  /sustainability/groups/{group_Uuid}:
    post:
      tags:
      - Sustainability
      summary: Get a collection of sustainability metrics for a given Group.
      description: ''
      operationId: getCloudSustainabilityGroupMetrics
      parameters:
      - name: group_Uuid
        in: path
        description: The Uuid of the group
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StatSnapshotApiDTO'
        '400':
          description: Bad Request
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SustainabilityInputApiDTO'
        description: Filters and groupings applied to sustainability metrics
    servers:
    - url: /api/v3
components:
  schemas:
    Link:
      type: object
      properties:
        rel:
          readOnly: true
          $ref: '#/components/schemas/LinkRelation'
        href:
          type: string
          readOnly: true
        hreflang:
          type: string
          readOnly: true
        media:
          type: string
          readOnly: true
        title:
          type: string
          readOnly: true
        type:
          type: string
          readOnly: true
        deprecation:
          type: string
          readOnly: true
        profile:
          type: string
          readOnly: true
        name:
          type: string
          readOnly: true
    StatCommoditySourceApiDTO:
      type: object
      properties:
        capacityCommoditySource:
          type: string
          description: Commodity source for capacity
        usedCommoditySource:
          type: string
          description: Commodity source for usage
        capacitySourceIndex:
          type: integer
          format: int32
          description: Commodity source operation index for capacity
        usedSourceIndex:
          type: integer
          format: int32
          description: Commodity source operation index for usage
      description: Model to describe commodity source for a single statistic, e.g. commodity source for VCPU (capacity and usage)
    StatSnapshotApiDTO:
      type: object
      required:
      - statistics
      properties:
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
        uuid:
          type: string
        displayName:
          type: string
          description: 'A user readable name of the api object.

            Cannot be blank.

            The UTF-8 encoding must be at most 255 bytes.'
        className:
          type: string
        date:
          type: string
          description: When the statistics were recorded
        statistics:
          type: array
          description: List of statistics, e.g. Price Index, Commodities values, Cost price, Number of VMs in a Group, ...
          items:
            $ref: '#/components/schemas/StatApiDTO'
        epoch:
          type: string
          description: An indicator of whether the snapshot represents historical, projected or plan data. Should be used in conjunction with the date field to understand the context of this stat snapshot.
          enum:
          - HISTORICAL
          - CURRENT
          - PROJECTED
          - PLAN_SOURCE
          - PLAN_PROJECTED
      description: Model to describe the Statistics of a snapshot, contains a list of Statistics for a moment in time
    StatApiDTO:
      type: object
      properties:
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
        uuid:
          type: string
        displayName:
          type: string
          description: 'A user readable name of the api object.

            Cannot be blank.

            The UTF-8 encoding must be at most 255 bytes.'
        className:
          type: string
        name:
          type: string
          description: Name
        capacity:
          description: Capacity values, used for Commodities stats
          $ref: '#/components/schemas/StatValueApiDTO'
        reserved:
          description: Reserved values, used for Commodities stats
          $ref: '#/components/schemas/StatValueApiDTO'
        relatedEntityType:
          type: string
          description: E.G.virtual machine
        filters:
          type: array
          description: describe the grouping options used to generate the output
          items:
            $ref: '#/components/schemas/StatFilterApiDTO'
        relatedEntity:
          description: Provider or Consumer of the Statistic, 'relatedEntity' and 'numRelatedEntities' are mutually exclusive
          $ref: '#/components/schemas/BaseApiDTO'
        numRelatedEntities:
          type: integer
          format: int32
          description: Number of providers or consumers for this statistic, 'relatedEntity' and 'numRelatedEntities' are mutually exclusive
        units:
          type: string
          description: Units, used for Commodities stats. E.G. $/h
        values:
          description: Contains Average, Min, Max, Total
          $ref: '#/components/schemas/StatValueApiDTO'
        value:
          type: number
          format: float
          description: Simple value, equal to values.avg.
        predicted:
          type: number
          format: float
          description: '[Beta]: Predicted value for the statistic. Only returns values when the SLO Guard system is turned on'
        commoditySource:
          description: Source for a commodity's capacity and usage, used for Commodities stats
          $ref: '#/components/schemas/StatCommoditySourceApiDTO'
        histUtilizations:
          type: array
          description: Commodity historical utilization values
          items:
            $ref: '#/components/schemas/StatHistUtilizationApiDTO'
      description: Model to describe a Statistic
    StatHistUtilizationApiDTO:
      type: object
      properties:
        type:
          type: string
          description: Historical utilization type
        usage:
          type: number
          format: float
          description: Historical usage
        capacity:
          type: number
          format: float
          description: Historical capacity
        resizeMaxScalingObservationPeriod:
          type: number
          format: float
          description: Resize max scaling observation period. Affects on amount of data points considered for action generation process. Value in days.
        resizeScalingAggressiveness:
          type: number
          format: float
          description: Resize scaling aggressiveness. Describes how aggressively Turbonomic will resize in response of resource utilization. Value in percents. 100% least aggressive, 95% most aggressive.
      description: Model to describe a historical utilization statistic, e.g. the P95 vCPU or P95 vMEM of a VM over (up to) NN days observation period.
    BaseApiDTO:
      type: object
      properties:
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
        uuid:
          type: string
        displayName:
          type: string
          description: 'A user readable name of the api object.

            Cannot be blank.

            The UTF-8 encoding must be at most 255 bytes.'
        className:
          type: string
      description: Basic information of an entity
    StatFilterApiDTO:
      type: object
      required:
      - type
      properties:
        type:
          type: string
          description: 'type of the filter, E.G: actionTypes, category, ...'
        value:
          type: string
          description: value of the filter
        displayName:
          type: string
          description: 'display name of the value, E.G: displayName if ''value'' is an oid or an enum'
      description: Model to describe the filter applied to a Statistic
    LinkRelation:
      type: object
    StatValueApiDTO:
      type: object
      properties:
        max:
          type: number
          format: float
          description: Max value
        min:
          type: number
          format: float
          description: Min value
        avg:
          type: number
          format: float
          description: Average value
        total:
          type: number
          format: float
          description: Total value - sum of average values in a group
        totalMax:
          type: number
          format: float
          description: Total max value - sum of max values in a group
        totalMin:
          type: number
          format: float
          description: Total min value - sum of min values in a group
      description: Model to describe a single statistic, e.g. the CPU of a PM Group
    SustainabilityInputApiDTO:
      type: object
      properties:
        sustainabilityGroupBys:
          type: array
          description: List of values to group the results by.
          items:
            type: string
            enum:
            - ACCOUNT
            - AVAILABILITY_ZONE
            - ENTITY
            - ENTITY_TYPE
            - REGION
            - SERVICE_PROVIDER
            - HOST
            - DATACENTER
            - CLUSTER
            - ENVIRONMENT_TYPE
          maxItems: 1
          minItems: 0
        startDate:
          type: string
          description: Start time of the period to filter. If startDate and endDate not provided current metrics will be processed
        endDate:
          type: string
          description: End time of the period to filter. If startDate and endDate not provided current metrics will be processed
      description: Model to describe the request for Sustainability Metrics by a Time range
    Link_2:
      type: object
      properties:
        rel:
          $ref: '#/components/schemas/LinkRelation'
        href:
          type: string
          readOnly: true
        hreflang:
          type: string
          readOnly: true
        media:
          type: string
          readOnly: true
        title:
          type: string
          readOnly: true
        type:
          type: string
          readOnly: true
        deprecation:
          type: string
          readOnly: true
        profile:
          type: string
          readOnly: true
        name:
          type: string
          readOnly: true
    StatApiDTO_2:
      type: object
      properties:
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link_2'
        uuid:
          type: string
        displayName:
          type: string
          description: 'A user readable name of the api object.

            Cannot be blank.

            The UTF-8 encoding must be at most 255 bytes.'
        className:
          type: string
        name:
          type: string
          description: Name
        capacity:
          $ref: '#/components/schemas/StatValueApiDTO'
        reserved:
          $ref: '#/components/schemas/StatValueApiDTO'
        relatedEntityType:
          type: string
          description: E.G.virtual machine
        filters:
          type: array
          description: describe the grouping options used to generate the output
          items:
            $ref: '#/components/schemas/StatFilterApiDTO'
        relatedEntity:
          $ref: '#/components/schemas/BaseApiDTO'
        numRelatedEntities:
          type: integer
          format: int32
          description: Number of providers or consumers for this statistic, 'relatedEntity' and 'numRelatedEntities' are mutually exclusive
        units:
          type: string
          description: Units, used for Commodities stats. E.G. $/h
        values:
          $ref: '#/components/schemas/StatValueApiDTO'
        value:
          type: number
          format: float
          description: Simple value, equal to values.avg.
        predicted:
          type: number
          format: float
          description: '[Beta]: Predicted value for the statistic. Only returns values when the SLO Guard system is turned on'
        commoditySource:
          $ref: '#/components/schemas/StatCommoditySourceApiDTO'
        histUtilizations:
          type: array
          description: Commodity historical utilization values
          items:
            $ref: '#/components/schemas/StatHistUtilizationApiDTO'
      description: Model to describe a Statistic
  requestBodies:
    SustainabilityInputApiDTO:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SustainabilityInputApiDTO'
      description: Filters and groupings applied to sustainability metrics
x-refined-from:
- turbonomic-external-api-swagger.json
- turbonomic-openapi.yml