IBM Turbonomic Stats API
The Stats API from IBM Turbonomic — 2 operation(s) for stats.
The Stats API from IBM Turbonomic — 2 operation(s) for stats.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/turbonomic:turbonomic-stats-api"
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.
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: 3.2.0
info:
title: Turbonomic Stats API
version: v3
description: 'Operations tagged Stats 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: Stats
paths:
/stats:
get:
tags:
- Stats
summary: Get the list of APIs for Statistics
description: ''
operationId: getStats
responses:
'200':
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/BaseApiDTO'
post:
tags:
- Stats
summary: Get the list of statistics by multiple Uuids using query parameters
description: ''
operationId: getStatsByUuidsQuery
parameters:
- name: cursor
in: query
description: When making subsequent calls to retrieve additional results,this is the cursor returned by the last call to this method.
required: false
schema:
type: string
- name: limit
in: query
description: The maximum number of items to return. Must be a positive integer. If not set, the server will provide a default.
required: false
schema:
type: integer
format: int32
- name: order_by
in: query
description: The field to order the results by. This should be the name of a stat. If the query object contains a time range with multiple stat snapshots, the server will use the first (i.e. earliest) snapshot for the order. If not set, there will be no guaranteed order. An entity that doesn't have a value for the specified stat will be displayed before entities that have values.
required: false
schema:
type: string
- name: ascending
in: query
description: Whether to arrange in ascending order.
required: false
schema:
type: boolean
default: true
responses:
'200':
description: successful operation
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/EntityStatsApiDTO'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/StatScopesApiInputDTO'
description: The object used to query the statistics
required: true
servers:
- url: /api/v3
/stats/{statistic_Uuid}:
get:
tags:
- Stats
summary: Get the list of statistics by entity
description: ''
operationId: getStatsByEntityUuid
parameters:
- name: statistic_Uuid
in: path
description: The Uuid of the entity
required: true
schema:
type: string
- name: q
in: query
description: Encoded query
required: false
schema:
type: string
responses:
'200':
description: successful operation
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/StatSnapshotApiDTO'
post:
tags:
- Stats
summary: Get the list of statistics by entity using query parameters
description: ''
operationId: getStatsByEntityQuery
parameters:
- name: statistic_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'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/StatPeriodApiInputDTO'
description: The object used to query the statistics
required: true
servers:
- url: /api/v3
components:
schemas:
StatPeriodApiInputDTO:
type: object
required:
- statistics
properties:
startDate:
type: string
description: Start time of the period to filter, if empty the current stats will be processed
endDate:
type: string
description: End time of the period to filter, if empty the current stats will be processed
statistics:
type: array
description: List of requested statistics, if empty all stats will be processed
items:
$ref: '#/components/schemas/StatApiInputDTO'
description: Model to describe the request for Statistics by a Time range
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
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
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)
EntityStatsApiDTO:
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
environmentType:
type: string
description: Environment type
enum:
- CLOUD
- ONPREM
- HYBRID
realtimeMarketReference:
description: In case of a Plan Market Entity, this contains the original entity from the Real Time Market
$ref: '#/components/schemas/BaseApiDTO'
stats:
type: array
description: Collected monitoring statistics
items:
$ref: '#/components/schemas/StatSnapshotApiDTO'
description: Basic informations of an entity + statistics
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
StatApiInputDTO:
type: object
properties:
name:
type: string
description: Name of the stat
relatedEntityType:
type: string
description: Used to get stats from different entity types in the supply chain of {uuid} E.G.costPrice of the VMs where the scope is a PM
filters:
type: array
description: 'Filters to apply to the requested stats. Commodities supported values: key = {commodity_key}, relation = sold|bought, virtualDisk = {uuid}. Cost Price supported values: cumulative = true|false, cloudService = {uuid}, target = {uuid}, CSP = {name}, category = {name}, businessUnit = {uuid}, costComponent = COMPUTE|IP|LICENSE|STORAGE, costComponentArtifact = {key}. Please note that the costPrice stat is deprecated and will EOL in a future version. Use the dedicated ''cost'' endpoints in /entities, /groups and /markets instead. Action stats supported values: actionTypes = {actionType}, actionModes: {action_mode}, actionStates: {action_state}, riskSubCategory: Performance Assurance|Efficiency Improvement|Prevention|Compliance, riskSeverity: UNKNOWN|NORMAL|MINOR|MAJOR|CRITICAL'
items:
$ref: '#/components/schemas/StatFilterApiDTO'
groupBy:
type: array
description: 'Execute a groupBy on the values of the stats. Commodities supported values: key, relatedEntity, virtualDisk. Cost Price supported values: cloudService, target, CSP, category, businessUnit, costComponent, costComponentArtifact. Please note that the costPrice stat is deprecated and will EOL in a future version. Use the dedicated ''cost'' endpoints in /entities, /groups and /markets instead. Action stats supported values: actionTypes, actionModes, actionStates, risk, riskSubCategory, riskSeverity'
items:
type: string
historyType:
type: string
description: Query the histUtilization table for these historyTypes
enum:
- Percentile
- Smoothed
description: Model to describe the request of a Stat. Please note that the costPrice stat is deprecated and will EOL in a future version. Use the dedicated 'cost' endpoints in /entities, /groups and /markets instead.
StatScopesApiInputDTO:
type: object
properties:
scopes:
type: array
description: List of uuid to use as scope
items:
type: string
period:
description: List of requested statistics
$ref: '#/components/schemas/StatPeriodApiInputDTO'
relatedType:
type: string
description: Get the stats for the entity type related to the scopes
description: Model to describe the request for Statistics in multiple Scopes
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
EntityStatsApiDTO_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
environmentType:
type: string
description: Environment type
enum:
- CLOUD
- ONPREM
- HYBRID
realtimeMarketReference:
$ref: '#/components/schemas/BaseApiDTO'
stats:
type: array
description: Collected monitoring statistics
items:
$ref: '#/components/schemas/StatSnapshotApiDTO'
description: Basic informations of an entity + statistics
StatScopesApiInputDTO_2:
type: object
properties:
scopes:
type: array
description: List of uuid to use as scope
items:
type: string
period:
$ref: '#/components/schemas/StatPeriodApiInputDTO'
relatedType:
type: string
description: Get the stats for the entity type related to the scopes
description: Model to describe the request for Statistics in multiple Scopes
requestBodies:
StatScopesApiInputDTO:
content:
application/json:
schema:
$ref: '#/components/schemas/StatScopesApiInputDTO_2'
description: The object used to query the statistics
required: true
StatPeriodApiInputDTO:
content:
application/json:
schema:
$ref: '#/components/schemas/StatPeriodApiInputDTO'
description: The object used to query the statistics
required: true
x-refined-from:
- turbonomic-external-api-swagger.json
- turbonomic-openapi.yml