SAP Business Technology Platform Resource API

The Resource API from SAP Business Technology Platform — 2 operation(s) for resource.

GitHub OpenAPI

Operations 3

PATCH /admin/resources/nodes Set reserved resources corresponding to tenant #
GET /admin/resources/nodes Get node request status corresponding to tenant #
GET /admin/resources/instanceTypes Get list of available instance types #

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/sap-btp:sap-btp-resource-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

sap-btp-resource-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sap Btp Resource API
  version: 2.42.0
  description: 'Operations tagged Resource across 2 of this provider''s published API definitions: ai-core.yaml, sap-btp-ai-core-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.ai.{region}.ml.hana.ondemand.com/v2
  description: Production endpoint for SAP AI Core
  variables:
    region:
      enum:
      - prod.eu-central-1.aws
      - prodeuonly.eu-central-1.aws
      - prod.us-east-1.aws
      - prod.ap-northeast-1.aws
      - prod-ap11.ap-southeast-1.aws
      - prod-ap20.australiaeast.azure
      - prod.ap-southeast-2.aws
      - prod-eu20.westeurope.azure
      - prod-ap30.australia-southeast1.gcp
      - prod-in30.asia-south1.gcp
      - prod-sa30.me-central2.gcp
      - prod-us21.eastus.azure
      - prod-eu30.europe-west3.gcp
      - prod-us30.us-central1.gcp
      - prod-br10.sa-east-1.aws
      default: prod.eu-central-1.aws
security:
- Oauth2: []
tags:
- name: Resource
paths:
  /admin/resources/nodes:
    patch:
      tags:
      - Resource
      summary: Set reserved resources corresponding to tenant
      description: Set hot spare nodes corresponding to tenant at main tenant level.
      operationId: kubesubmit.v4.resources.patch
      parameters:
      - $ref: '#/components/parameters/BckndtokenHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BckndResourcePatchBody'
      responses:
        '200':
          description: Reserved resource has been set.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndResourcePatchResponse'
        '400':
          $ref: '#/components/responses/BckndBadRequest'
        default:
          $ref: '#/components/responses/BckndCommonError'
    get:
      tags:
      - Resource
      summary: Get node request status corresponding to tenant
      description: Lists all hot spare nodes, used nodes and total nodes corresponding to tenant.
      operationId: kubesubmit.v4.resources.get
      parameters:
      - $ref: '#/components/parameters/BckndtokenHeader'
      responses:
        '200':
          description: Reserved resource status were fetched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndResourceGetResponse'
        '400':
          $ref: '#/components/responses/BckndBadRequest'
        default:
          $ref: '#/components/responses/BckndCommonError'
    servers:
    - url: https://api.ai.{region}.ml.hana.ondemand.com/v2
      description: Production endpoint for SAP AI Core
      variables:
        region:
          enum:
          - prod.eu-central-1.aws
          - prodeuonly.eu-central-1.aws
          - prod.us-east-1.aws
          - prod.ap-northeast-1.aws
          - prod-ap11.ap-southeast-1.aws
          - prod-ap20.australiaeast.azure
          - prod.ap-southeast-2.aws
          - prod-eu20.westeurope.azure
          - prod-ap30.australia-southeast1.gcp
          - prod-in30.asia-south1.gcp
          - prod-sa30.me-central2.gcp
          - prod-us21.eastus.azure
          - prod-eu30.europe-west3.gcp
          - prod-us30.us-central1.gcp
          - prod-br10.sa-east-1.aws
          default: prod.eu-central-1.aws
  /admin/resources/instanceTypes:
    get:
      tags:
      - Resource
      summary: Get list of available instance types
      description: Lists all the instance types available in the cluster.
      operationId: kubesubmit.v4.instance_types.get
      parameters:
      - $ref: '#/components/parameters/BckndtokenHeader'
      responses:
        '200':
          description: List of available instance types
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndInstanceTypeGetResponse'
        '400':
          $ref: '#/components/responses/BckndBadRequest'
        default:
          $ref: '#/components/responses/BckndCommonError'
    servers:
    - url: https://api.ai.{region}.ml.hana.ondemand.com/v2
      description: Production endpoint for SAP AI Core
      variables:
        region:
          enum:
          - prod.eu-central-1.aws
          - prodeuonly.eu-central-1.aws
          - prod.us-east-1.aws
          - prod.ap-northeast-1.aws
          - prod-ap11.ap-southeast-1.aws
          - prod-ap20.australiaeast.azure
          - prod.ap-southeast-2.aws
          - prod-eu20.westeurope.azure
          - prod-ap30.australia-southeast1.gcp
          - prod-in30.asia-south1.gcp
          - prod-sa30.me-central2.gcp
          - prod-us21.eastus.azure
          - prod-eu30.europe-west3.gcp
          - prod-us30.us-central1.gcp
          - prod-br10.sa-east-1.aws
          default: prod.eu-central-1.aws
components:
  schemas:
    BckndInstanceType:
      type: object
      additionalProperties:
        type: object
        required:
        - memory
        - cpu
        - gpu
        - billableUnitsPerHour
        properties:
          memory:
            type: string
            description: Memory allocated for the instance type (e.g., "16Gi")
          cpu:
            type: number
            description: Number of CPU cores allocated for the instance type
          gpu:
            type: number
            description: Number of GPUs allocated for the instance type
          billableUnitsPerHour:
            type: number
            description: Number of billable units per hour for the instance type
    BckndResourcePatchResourcePlans:
      type: array
      items:
        $ref: '#/components/schemas/BckndResourcePatchNodes'
    BckndResourceGetResponse:
      type: object
      required:
      - resourcePlans
      properties:
        resourcePlans:
          $ref: '#/components/schemas/BckndResourceGetResourcePlans'
    BckndInstanceTypeGetResponse:
      type: object
      required:
      - instanceTypes
      properties:
        instanceTypes:
          $ref: '#/components/schemas/BckndInstanceType'
    BckndResourcePatchResponse:
      type: object
      required:
      - message
      properties:
        message:
          type: string
    BckndResourcePatchNodes:
      type: object
      required:
      - name
      - request
      properties:
        name:
          type: string
        request:
          type: integer
    BckndErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/BckndError'
    BckndResourcePatchBody:
      type: object
      required:
      - resourcePlans
      properties:
        resourcePlans:
          $ref: '#/components/schemas/BckndResourcePatchResourcePlans'
    BckndResourceGetResourcePlans:
      type: object
      additionalProperties:
        type: object
        required:
        - provisioned
        - requested
        properties:
          provisioned:
            type: integer
          requested:
            type: integer
    BckndError:
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: string
          description: Descriptive error code (not http status code)
        message:
          type: string
          description: Plaintext error description
          example: something went wrong
        requestId:
          type: string
          description: ID of the individual request
        target:
          type: string
          description: Invoked URL
        details:
          description: Optional details of the error message
          type: object
  responses:
    BckndCommonError:
      description: HTTP status codes 401, 403 or 500. Response body contains further details.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BckndErrorResponse'
    BckndBadRequest:
      description: The request was malformed and could thus not be processed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BckndErrorResponse'
  parameters:
    BckndtokenHeader:
      name: Authorization
      in: header
      description: Authorization bearer token containing a JWT token.
      required: false
      schema:
        type: string
  securitySchemes:
    Oauth2:
      type: oauth2
      description: OAuth client credentials (client ID and secret) are required. These can be requested from SAP BTP cloud cockpit.
      flows:
        clientCredentials:
          tokenUrl: https://{subdomain_identity_zone}.authentication.{host}/oauth/token
          scopes: {}
externalDocs:
  description: Documentation for SAP AI Core
  url: https://help.sap.com/docs/AI_CORE?version=CLOUD
x-refined-from:
- ai-core.yaml
- sap-btp-ai-core-openapi.yml
x-sap-shortText: Create and manage AI scenarios, trainings, deployments, and artifacts in SAP AI Core.