IBM Turbonomic Reservations API

The Reservations API from IBM Turbonomic — 3 operation(s) for reservations.

GitHub OpenAPI

Operations 5

GET /reservations Get a list of reservations #
POST /reservations Create a reservation for the demand workload with the given name #
GET /reservations/stats/{entity_Uuid} Get reservation-aware stats of entity. #
GET /reservations/{reservation_Uuid} Get details about a reservation #
DELETE /reservations/{reservation_Uuid} Delete a reservation #

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-reservations-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-reservations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Turbonomic Reservations API
  version: v3
  description: 'Operations tagged Reservations 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: Reservations
paths:
  /reservations:
    get:
      tags:
      - Reservations
      summary: Get a list of reservations
      description: ''
      operationId: getAllReservations
      parameters:
      - name: status
        in: query
        description: Reservation Status
        required: false
        schema:
          type: string
          enum:
          - PLACEMENT_FAILED
          - RESERVED
          - UNFULFILLED
          - INPROGRESS
          - INITIAL
          - FUTURE
          - INVALID
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DemandReservationApiDTO'
    post:
      tags:
      - Reservations
      summary: Create a reservation for the demand workload with the given name
      description: ''
      operationId: createReservationForDemand
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DemandReservationApiDTO'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DemandReservationApiInputDTO'
        description: Demand workload reservation details
        required: true
    servers:
    - url: /api/v3
  /reservations/stats/{entity_Uuid}:
    get:
      tags:
      - Reservations
      summary: Get reservation-aware stats of entity.
      description: ''
      operationId: getReservationAwareStats
      parameters:
      - name: entity_Uuid
        in: path
        description: The uuid of the entity. This could be a Cluster, Group, Host, or Storage Device.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StatApiDTO'
    servers:
    - url: /api/v3
  /reservations/{reservation_Uuid}:
    get:
      tags:
      - Reservations
      summary: Get details about a reservation
      description: ''
      operationId: getReservationByID
      parameters:
      - name: reservation_Uuid
        in: path
        description: The uuid of the reservation
        required: true
        schema:
          type: string
      - name: apiCallBlock
        in: query
        description: '[DEPRECATED] Do you want to block the api call until initial placement results?'
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DemandReservationApiDTO'
    delete:
      tags:
      - Reservations
      summary: Delete a reservation
      description: ''
      operationId: deleteReservationByID
      parameters:
      - name: reservation_Uuid
        in: path
        description: The unique ID of the reservation
        required: true
        schema:
          type: string
      - name: reservation_deployed
        in: query
        description: When true, the reservation will be included in the system and will keep utilizing the resources from host and storage until the corresponding virtual machine utilization starts to reflect on the historically computed utilization.
        required: false
        schema:
          type: boolean
      - name: reservation_force_delete
        in: query
        description: When true, the reservation will be deleted no matter what state it is in.
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: boolean
    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)
    DemandReservationApiInputDTO:
      type: object
      required:
      - action
      - demandName
      properties:
        demandName:
          type: string
          description: Name of the reservation
        action:
          type: string
          description: Action requested for the reservation
          enum:
          - RESERVATION
        mode:
          type: string
          description: 'Demand related behavior for reservation of NO_GROUPING/AFFINITY. This value interacts with the grouping value which is specifying the type of grouping that the demand should consider the mode for. NO_GROUPING and NONE must be paired together and cannot be paired with other values. Combinations such as: (NO_GROUPING - NONE), (AFFINITY - CLUSTER) are valid. Examples of invalid combinations are (NO_GROUPING - CLUSTER), (AFFINITY - NONE).'
          enum:
          - NO_GROUPING
          - AFFINITY
        grouping:
          type: string
          description: Grouping related behavior for reservation of NONE and CLUSTER. This value interacts with the mode value.
          enum:
          - NONE
          - CLUSTER
        reserveDateTime:
          type: string
          description: Date to specify when to reserve the Demand
        expireDateTime:
          type: string
          description: Date to specify when the Demand request will expire, required if action = RESERVATION
        deployDateTime:
          type: string
          description: Date to specify when to deploy the Demand
        parameters:
          type: array
          description: Reservation Parameters
          items:
            $ref: '#/components/schemas/DemandReservationParametersDTO'
        scope:
          type: array
          description: List of uuids of groups (currently limited to Clusters or Host Groups) whose members are the only possible providers of that type of entity. These are further constrained by the constraintIds passed in placement parameters. If multiple groups of providers are specified then it is possible that entities will be placed within different groups.
          items:
            type: string
    DemandReservationApiDTO:
      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
        prefix:
          type: string
        count:
          type: integer
          format: int32
        status:
          type: string
        reserveDateTime:
          type: string
        expireDateTime:
          type: string
        deployDateTime:
          type: string
        reserveCount:
          type: integer
          format: int32
        deployCount:
          type: integer
          format: int32
        placementExpirationDateTime:
          type: string
        placementResultMessage:
          type: string
          description: Details of placement during failure or success
        constraintInfos:
          type: array
          description: The constraints user specified when running reservation which limit where templates could be placed.
          items:
            $ref: '#/components/schemas/ReservationConstraintApiDTO'
        reservationDeployed:
          type: boolean
          description: When true, the reservation will be included in the system and will keep utilizing the resources from host and storage until the corresponding virtual machine utilization starts to reflect on the historically computed utilization.
        mode:
          type: string
          description: 'Demand related behavior for reservation of NO_GROUPING/AFFINITY. This value interacts with the grouping value which is specifying the type of grouping that the demand should consider the mode for. NO_GROUPING and NONE must be paired together and cannot be paired with other values. Combinations such as: (NO_GROUPING - NONE), (AFFINITY - CLUSTER) are valid. Examples of invalid combinations are (NO_GROUPING - CLUSTER), (AFFINITY - NONE).'
          enum:
          - NO_GROUPING
          - AFFINITY
        grouping:
          type: string
          description: Grouping related behavior for reservation of NONE and CLUSTER. This value interacts with the mode value.
          enum:
          - NONE
          - CLUSTER
        scope:
          type: array
          description: List of uuids of groups (currently limited to Clusters or Host Groups) whose members are the only possible providers of that type of entity. These are further constrained by the constraintIds passed in placement parameters. If multiple groups of providers are specified then it is possible that entities will be placed within different groups.
          items:
            type: string
        demandEntities:
          type: array
          items:
            $ref: '#/components/schemas/DemandEntityInfoDTO'
      description: Basic information of an entity
    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
    DemandReservationParametersDTO:
      type: object
      required:
      - placementParameters
      properties:
        placementParameters:
          description: Placement parameters
          $ref: '#/components/schemas/PlacementParametersDTO'
        deploymentParameters:
          description: Deployment parameters, required if action = DEPLOYMENT, RESERVATION
          $ref: '#/components/schemas/DeploymentParametersDTO'
    PlacementParametersDTO:
      type: object
      properties:
        count:
          type: integer
          format: int32
          description: Number of Virtual Machines to Place
        templateID:
          type: string
          description: Template Uuid used for the Placement
        entityNames:
          type: array
          description: Name of the Placed Virtual Machine
          items:
            type: string
        constraintIDs:
          type: array
          description: 'List of uuids that will define the constraints that new VMs should be compliant to, allowed uuids are: Cluster, Datacenter, VirtualDataCenter, Network, Placement Policy. The possible providers are the intersection of all constraints passed.'
          uniqueItems: true
          items:
            type: string
        geographicRedundancy:
          type: boolean
          description: Enable Geographic Redundancy
    DeploymentParametersDTO:
      type: object
      properties:
        deploymentProfileID:
          type: string
          description: Deployment Profile uuid
        highAvailability:
          type: boolean
          description: High availability
        priority:
          type: string
          description: Workload priority
          enum:
          - LOW
          - NORMAL
          - MISSION_CRITICAL
    ReservationInvalidInfoApiDTO:
      type: object
      properties:
        invalidReason:
          type: string
          description: The reason why the reservation is invalid
          enum:
          - MARKET_CONNECTIVITY_ERROR
          - MARKET_NOT_READY
          - INVALID_CONSTRAINTS
      description: The reason the reservation is invalid
    ResourceApiDTO:
      type: object
      properties:
        stats:
          type: array
          description: Statistics, e.g. Number of CPU, Memory size, Disk size, ...
          items:
            $ref: '#/components/schemas/StatApiDTO'
        provider:
          description: Entity provider
          $ref: '#/components/schemas/BaseApiDTO'
        type:
          type: string
          description: Type of the resource
        template:
          type: string
          description: Template used to fulfill the resources
        relatedResources:
          type: array
          description: '[DEPRECATED - Use: linkedResources] ID of resources related to this resource'
          items:
            type: string
        linkedResources:
          type: array
          description: resources related to this resource. For now, this will only contain the cluster
          items:
            $ref: '#/components/schemas/BaseApiDTO'
      description: Model to describe the Resources of a Template
    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
    ReservationFailureInfoDTO:
      type: object
      required:
      - closestSeller
      - closestSellerCluster
      - maxQuantityAvailable
      - quantityRequested
      - resource
      - timespan
      properties:
        resource:
          type: string
          description: Most constrained resource
        timespan:
          type: string
          description: Failure is in historical or current
          enum:
          - HISTORICAL
          - CURRENT
          - PROJECTED
          - PLAN_SOURCE
          - PLAN_PROJECTED
        closestSeller:
          description: provider that came closest to meeting the requirements
          $ref: '#/components/schemas/BaseApiDTO'
        closestSellerCluster:
          description: Closest provider's cluster information
          $ref: '#/components/schemas/BaseApiDTO'
        maxQuantityAvailable:
          type: number
          format: double
          description: Quantity of resource available on closestSeller
        quantityRequested:
          type: number
          format: double
          description: Quantity of resource requested
        units:
          type: string
          description: Units for the resource
      description: Failure information when reservation fails
    ReservationConstraintApiDTO:
      type: object
      required:
      - constraintType
      - uuid
      properties:
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
        uuid:
          type: string
          description: UUID of the constraint
        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
        constraintType:
          type: string
          description: Type of constraint
          enum:
          - CLUSTER
          - DATA_CENTER
          - VIRTUAL_DATA_CENTER
          - POLICY
          - NETWORK
      description: The constraints user specified when running reservation which limit where templates could be placed.
    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
    DemandEntityInfoDTO:
      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
        template:
          $ref: '#/components/schemas/BaseApiDTO'
        deploymentProfile:
          $ref: '#/components/schemas/BaseApiDTO'
        operationalCost:
          type: string
        placements:
          $ref: '#/components/schemas/PlacementInfoDTO'
      description: 'Model to describe a reservation entity '
    LinkRelation:
      type: object
    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.
    PlacementInfoDTO:
      type: object
      properties:
        computeResources:
          type: array
          description: Compute resources that the reservation is placed in
          items:
            $ref: '#/components/schemas/ResourceApiDTO'
        storageResources:
          type: array
          description: Storage resources that the reservation is placed in
          items:
            $ref: '#/components/schemas/ResourceApiDTO'
        networkResources:
          type: array
          description: Network resources that the reservation is placed in
          items:
            $ref: '#/components/schemas/ResourceApiDTO'
        failureInfos:
          type: array
          description: Details about why the reservation failed. This will only be populated if the reservation failed.
          items:
            $ref: '#/components/schemas/ReservationFailureInfoDTO'
        invalidInfo:
          description: Details about why the reservation is invalid. This will only be populated if the reservation is invalid.
          $ref: '#/components/schemas/ReservationInvalidInfoApiDTO'
    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
    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
    DemandReservationParametersDTO_2:
      type: object
      required:
      - placementParameters
      properties:
        placementParameters:
          $ref: '#/components/schemas/PlacementParametersDTO'
        deploymentParameters:
          $ref: '#/components/schemas/DeploymentParametersDTO'
    ResourceApiDTO_2:
      type: object
      properties:
        stats:
          type: array
          description: Statistics, e.g. Number of CPU, Memory size, Disk size, ...
          items:
            $ref: '#/components/schemas/StatApiDTO_2'
        provider:
          $ref: '#/components/schemas/BaseApiDTO'
        type:
          type: string
          description: Type of the resource
        template:
          type: string
          description: Template used to fulfill the resources
        relatedResources:
          type: array
          description: '[DEPRECATED - Use: linkedResources] ID of resources related to this resource'
          items:
            type: string
        linkedResources:
          type: array
          description: resources related to this resource. For now, this will only contain the cluster
          items:
            $ref: '#/components/schemas/BaseApiDTO'
      description: Model to describe the Resources of a Template
    ReservationFailureInfoDTO_2:
      type: object
      required:
      - closestSeller
      - closestSellerCluster
      - maxQuantityAvailable
      - quantityRequested
      - resource
      - timespan
      properties:
        resource:
          type: string
          description: Most constrained resource
        timespan:
          type: string
          description: Failure is in historical or current
          enum:
          - HISTORICAL
          - CURRENT
          - PROJECTED
          - PLAN_SOURCE
          - PLAN_PROJECTED
        closestSeller:
          $ref: '#/components/schemas/BaseApiDTO'
        closestSellerCluster:
          $ref: '#/components/schemas/BaseApiDTO'
        maxQuantityAvailable:
          type: number
          format: double
          description: Quantity of resource available on closestSeller
        quantityRequested:
          type: number
          format: double
          description: Quantity of resource requested
        units:
          type: string
          description: Units for the resource
      description: Failure information when reservation fails
    PlacementInfoDTO_2:
      type: object
      properties:
        computeResources:
          type: array
          description: Compute resources that the reservation is placed in
          items:
            $ref: '#/components/schemas/ResourceApiDTO_2'
        storageResources:
          type: array
          description: Storage resources that the reservation is placed in
          items:
            $ref: '#/components/schemas/ResourceApiDTO_2'
        networkResources:
          type: array
          description: Network resources that the reservation is placed in
          items:
            $ref: '#/components/schemas/ResourceApiDTO_2'
        failureInfos:
          type: array
          description: Details about why the reservation failed. This will only be populated if the reservation failed.
          items:
            $ref: '#/components/schemas/ReservationFailureInfoDTO_2'
        invalidInfo:
          $ref: '#/components/schemas/ReservationInvalidInfoApiDTO'
x-refined-from:
- turbonomic-external-api-swagger.json
- turbonomic-openapi.yml