SAP Business Technology Platform Configuration API

Access to configurations for executions and deployments

GitHub OpenAPI

Operations 4

GET /lm/configurations Get list of configurations #
POST /lm/configurations Create configuration #
GET /lm/configurations/{configurationId} Get configuration by ID #
GET /lm/configurations/$count Get number of configurations #

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-configuration-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-configuration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sap Btp Configuration API
  version: 2.42.0
  description: 'Operations tagged Configuration 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: Configuration
  description: Access to configurations for executions and deployments
paths:
  /lm/configurations:
    parameters:
    - $ref: '#/components/parameters/AiresourceGroupHeader'
    get:
      tags:
      - Configuration
      summary: Get list of configurations
      description: 'Retrieve a list of configurations. Filter results by scenario ID or a list of executable IDs.

        Search for configurations containing the search string as substring in the configuration name.'
      operationId: configuration.query
      parameters:
      - $ref: '#/components/parameters/AiqueryScenarioId'
      - $ref: '#/components/parameters/Aitop'
      - $ref: '#/components/parameters/Aiskip'
      - $ref: '#/components/parameters/AiexecutableIdsList'
      - $ref: '#/components/parameters/AiquerySearch'
      - $ref: '#/components/parameters/AiquerySearchCaseInsensitive'
      - $ref: '#/components/parameters/AiqueryConfigurationExpand'
      responses:
        '200':
          description: A list of configurations
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiConfigurationList'
        '400':
          $ref: '#/components/responses/AiBadRequest'
    post:
      tags:
      - Configuration
      summary: Create configuration
      description: 'Create a new configuration linked to a specific scenario and executable for use in an execution

        or deployment.'
      operationId: configuration.create
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiConfigurationBaseData'
      responses:
        '201':
          description: The created configuration
          headers:
            Location:
              description: URL of the created configuration
              schema:
                $ref: '#/components/schemas/AiUrl'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiConfigurationCreationResponse'
        '400':
          $ref: '#/components/responses/AiBadRequest'
    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
  /lm/configurations/{configurationId}:
    parameters:
    - $ref: '#/components/parameters/AiresourceGroupHeader'
    - $ref: '#/components/parameters/AiconfigurationId'
    - $ref: '#/components/parameters/AiqueryConfigurationExpand'
    get:
      tags:
      - Configuration
      summary: Get configuration by ID
      description: Retrieve details for configuration with configurationId.
      operationId: configuration.get
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiConfiguration'
          description: A configuration
        '400':
          $ref: '#/components/responses/AiBadRequest'
        '404':
          $ref: '#/components/responses/AiNotFound'
    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
  /lm/configurations/$count:
    get:
      tags:
      - Configuration
      summary: Get number of configurations
      description: 'Retrieve the number of available configurations that match the specified filter criteria.

        Filter criteria include a scenarioId or executableIdsList. Search by substring of configuration name is also possible.'
      operationId: configuration.count
      parameters:
      - $ref: '#/components/parameters/AiresourceGroupHeader'
      - $ref: '#/components/parameters/AiqueryScenarioId'
      - $ref: '#/components/parameters/AiquerySearch'
      - $ref: '#/components/parameters/AiquerySearchCaseInsensitive'
      - $ref: '#/components/parameters/AiexecutableIdsList'
      responses:
        '200':
          description: Number of configurations
          content:
            text/plain:
              schema:
                type: integer
        '400':
          $ref: '#/components/responses/AiBadRequest'
    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:
  parameters:
    AiexecutableIdsList:
      name: executableIds
      in: query
      description: Limit query to only these executable IDs
      schema:
        type: array
        items:
          type: string
          pattern: ^[\w.-]{4,64}$
        maxItems: 1000
      style: form
      explode: false
    AiquerySearch:
      name: $search
      description: Generic search term to be looked for in various attributes
      in: query
      required: false
      schema:
        type: string
        pattern: ^[^~]{1,80}$
      example: onfigur
    Aitop:
      name: $top
      description: Number of results to display
      in: query
      required: false
      schema:
        type: integer
        maximum: 100000
        default: 10000
      example: 10
      x-visible: false
    AiresourceGroupHeader:
      in: header
      name: AI-Resource-Group
      description: Specify a resource group id
      schema:
        type: string
      required: true
    AiquerySearchCaseInsensitive:
      name: searchCaseInsensitive
      description: indicates whether the search should be case insensitive
      in: query
      required: false
      schema:
        type: boolean
        default: false
      example: true
    AiconfigurationId:
      name: configurationId
      description: Configuration identifier
      in: path
      required: true
      schema:
        type: string
        pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
    AiqueryScenarioId:
      name: scenarioId
      description: Scenario identifier
      in: query
      required: false
      schema:
        type: string
        pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
    Aiskip:
      name: $skip
      description: Number of results to be skipped from the ordered list of results
      in: query
      required: false
      schema:
        type: integer
      example: 10
      x-visible: false
    AiqueryConfigurationExpand:
      name: $expand
      description: expand detailed information on scenario
      in: query
      required: false
      schema:
        type: string
        enum:
        - scenario
      example: scenario
      x-visible: false
  schemas:
    AiScenarioLabel:
      type: object
      required:
      - key
      - value
      properties:
        key:
          $ref: '#/components/schemas/AiScenarioLabelKey'
        value:
          $ref: '#/components/schemas/AiLabelValue'
    AiConfigurationCreationResponseMessage:
      type: string
      description: Message
      example: Configuration created
    AiConfigurationList:
      type: object
      properties:
        count:
          type: integer
          description: Number of the resource instances in the list
        resources:
          type: array
          items:
            $ref: '#/components/schemas/AiConfiguration'
      required:
      - count
      - resources
    AiScenarioId:
      type: string
      pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
      description: ID of the scenario
    AiUrl:
      type: string
      format: url
    AiLabelValue:
      type: string
      maxLength: 5000
    AiConfigurationName:
      type: string
      pattern: ^[\w\s.!?,;:\[\](){}<>"'=+*/\\^&%@~$#|-]*$
      maxLength: 256
      description: Name of the configuration
    AiApiError:
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: string
          description: Descriptive error code (not http status code)
        message:
          type: string
          description: Plaintext error description
        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
    AiArtifactArgumentBinding:
      type: object
      required:
      - key
      - artifactId
      properties:
        key:
          type: string
          maxLength: 256
        artifactId:
          $ref: '#/components/schemas/AiArtifactId'
      description: 'Required for execution

        Result of activation

        '
    AiConfiguration:
      type: object
      properties:
        name:
          $ref: '#/components/schemas/AiConfigurationName'
        executableId:
          $ref: '#/components/schemas/AiExecutableId'
        scenarioId:
          $ref: '#/components/schemas/AiScenarioId'
        parameterBindings:
          $ref: '#/components/schemas/AiParameterArgumentBindingList'
        inputArtifactBindings:
          $ref: '#/components/schemas/AiArtifactArgumentBindingList'
        id:
          $ref: '#/components/schemas/AiConfigurationId'
        createdAt:
          type: string
          description: Timestamp of resource creation
          format: date-time
        scenario:
          type:
          - object
          - 'null'
          anyOf:
          - $ref: '#/components/schemas/AiScenario'
          - {}
      required:
      - name
      - executableId
      - scenarioId
      - id
      - createdAt
    AiId:
      type: string
      pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
      description: Generic ID
    AiScenarioLabelList:
      type: array
      description: Arbitrary labels as meta information
      items:
        $ref: '#/components/schemas/AiScenarioLabel'
    AiArtifactId:
      type: string
      pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
      description: ID of the artifact
    AiArtifactArgumentBindingList:
      type: array
      maxItems: 1000
      items:
        $ref: '#/components/schemas/AiArtifactArgumentBinding'
    AiScenarioLabelKey:
      type: string
      example: scenarios.ai.sap.com/s4hana-version
      maxLength: 256
      pattern: ^(scenarios|ext)\.ai\.sap\.com\/[\w\.-]+$
    AiConfigurationBaseData:
      type: object
      required:
      - name
      - executableId
      - scenarioId
      properties:
        name:
          $ref: '#/components/schemas/AiConfigurationName'
        executableId:
          $ref: '#/components/schemas/AiExecutableId'
        scenarioId:
          $ref: '#/components/schemas/AiScenarioId'
        parameterBindings:
          $ref: '#/components/schemas/AiParameterArgumentBindingList'
        inputArtifactBindings:
          $ref: '#/components/schemas/AiArtifactArgumentBindingList'
    AiConfigurationId:
      type: string
      pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
      description: ID of the configuration
    AiParameterArgumentBindingList:
      type: array
      maxItems: 1000
      items:
        $ref: '#/components/schemas/AiParameterArgumentBinding'
    AiConfigurationCreationResponse:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/AiId'
        message:
          $ref: '#/components/schemas/AiConfigurationCreationResponseMessage'
      required:
      - id
      - message
    AiExecutableId:
      type: string
      pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
      description: ID of the executable
    AiParameterArgumentBinding:
      type: object
      required:
      - key
      - value
      properties:
        key:
          type: string
          maxLength: 256
        value:
          type: string
          maxLength: 5000
      description: 'Required for execution

        Result of activation

        '
    AiScenario:
      type: object
      description: 'An ML Scenario consists of a number of executables. E.g., there can be one or several training executables, an inference (deployment) executable. An ML Scenario is versioned.

        '
      required:
      - name
      - id
      - createdAt
      - modifiedAt
      properties:
        name:
          type: string
          maxLength: 256
          description: Name of the scenario
        description:
          type: string
          maxLength: 5000
          description: Description of the scenario
        labels:
          $ref: '#/components/schemas/AiScenarioLabelList'
        id:
          $ref: '#/components/schemas/AiScenarioId'
        createdAt:
          type: string
          description: Timestamp of resource creation
          format: date-time
        modifiedAt:
          type: string
          format: date-time
          description: Timestamp of latest resource modification
  responses:
    AiBadRequest:
      description: The specification of the resource was incorrect
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                $ref: '#/components/schemas/AiApiError'
    AiNotFound:
      description: The specified resource was not found
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                $ref: '#/components/schemas/AiApiError'
  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.