IBM Cloud Kubernetes Get Flavor API

The GetFlavor API from IBM Cloud Kubernetes — 1 operation(s) for getflavor.

GitHub OpenAPI

Operations 1

GET /v2/getFlavor Get the details for a worker node flavor #

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/ibm-cloud-kubernetes:ibm-cloud-kubernetes-getflavor-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

ibm-cloud-kubernetes-getflavor-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ibm Cloud Kubernetes Get Flavor API
  version: '1.1'
  description: 'Operations tagged GetFlavor across 2 of this provider''s published API definitions: ibm-cloud-kubernetes-swagger.json, ibm-cloud-kubernetes-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /global
- url: https://containers.cloud.ibm.com/global
tags:
- name: GetFlavor
paths:
  /v2/getFlavor:
    get:
      description: Get the details for a worker node flavor, including the flavor's virtual CPU amount, memory, disk space and supported operating systems. Flavors are specific to a IBM Cloud Kubernetes Service zone and infrastructure provider.
      tags:
      - GetFlavor
      summary: Get the details for a worker node flavor
      operationId: v2GetFlavor
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. Note that some flavors are only available to certain accounts. Specify your IAM token to get any flavor that is available to your account. If no authorization is specified, then only flavors that are generally available can be returned. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        schema:
          type: string
      - description: The ID of the flavor.  To list available flavors, run `ibmcloud ks flavors --zone ZONE` or use the `GET /v2/getFlavors` API.
        name: flavor
        in: query
        required: true
        schema:
          type: string
      - description: The ID of the zone. To list available zones, run `ibmcloud ks zone ls` or use the `GET /v2/zones` API.
        name: zone
        in: query
        required: true
        schema:
          type: string
      - description: The name of the provider. To check available providers, see the output of the `ibmcloud ks flavors --zone ZONE` command or use the `GET /v2/getFlavors` API.
        name: provider
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Flavor'
        '400':
          description: The specified zone is invalid. To list available zones, run `ibmcloud ks zone ls` or use the `GET /v2/zones` API.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ibm-events:
        description: No Activity Tracker event is generated for this operation.
        events:
        - name: null
      x-ibm-permissions:
        actions:
        - name: null
        description: No IBM Cloud IAM role is required for this operation.
    servers:
    - url: /global
components:
  schemas:
    ErrorResponse:
      description: ErrorResponse error response to end users
      type: object
      properties:
        code:
          type: string
          x-go-name: ID
        description:
          type: string
          x-go-name: Err
        incidentID:
          type: string
          x-go-name: ReqID
        recoveryCLI:
          type: string
          x-go-name: RecoveryCLI
        terseDescription:
          type: string
          x-go-name: TerseErr
        type:
          $ref: '#/components/schemas/ErrorType'
      x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
    ErrorType:
      description: ErrorType error type
      type: string
      x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
    Flavor:
      description: Flavor Definition of a flavor / machine type that can be deployed
      type: object
      properties:
        architecture:
          description: The type of CPU architecture that the flavor uses.
          type: string
          x-go-name: Architecture
        correspondingFlavor:
          type: string
          x-go-name: CorrespondingFlavor
        deprecated:
          type: boolean
          x-go-name: Deprecated
        id:
          description: The ID of the worker node flavor.
          type: string
          x-go-name: ID
        isTrusted:
          type: boolean
          x-go-name: IsTrusted
        name:
          description: The name of the worker node flavor.
          type: string
          x-go-name: Name
        provider:
          description: The name of the provider.
          type: string
          x-go-name: Provider
        secondaryStorage:
          type: string
          x-go-name: SecondaryStorage
        secondaryStorageEncrypted:
          type: boolean
          x-go-name: SecondaryStorageEncrypted
        storage:
          type: string
          x-go-name: Storage
      x-go-package: github.ibm.com/alchemy-containers/armada-model/model/api/json/v2
x-refined-from:
- ibm-cloud-kubernetes-swagger.json
- ibm-cloud-kubernetes-openapi.yml