SAP Business Technology Platform Executable API

Access to executables

GitHub OpenAPI

Operations 2

GET /lm/scenarios/{scenarioId}/executables Get list of executables #
GET /lm/scenarios/{scenarioId}/executables/{executableId} Get details about specific executable #

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-executable-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-executable-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sap Btp Executable API
  version: 2.42.0
  description: 'Operations tagged Executable 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: Executable
  description: Access to executables
paths:
  /lm/scenarios/{scenarioId}/executables:
    parameters:
    - $ref: '#/components/parameters/AiscenarioId'
    - $ref: '#/components/parameters/AiresourceGroupHeader'
    get:
      tags:
      - Executable
      summary: Get list of executables
      description: Retrieve a list of executables for a scenario. Filter by version ID, if required.
      operationId: executable.query
      parameters:
      - $ref: '#/components/parameters/AiversionIdQueryParam'
      responses:
        '200':
          description: A list of executables
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiExecutableList'
        '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/scenarios/{scenarioId}/executables/{executableId}:
    parameters:
    - $ref: '#/components/parameters/AiscenarioId'
    - $ref: '#/components/parameters/AiexecutableId'
    - $ref: '#/components/parameters/AiresourceGroupHeader'
    get:
      tags:
      - Executable
      summary: Get details about specific executable
      description: 'Retrieve details about an executable identified by executableId belonging

        to a scenario identified by scenarioId.'
      operationId: executable.get
      responses:
        '200':
          description: An Executable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiExecutable'
        '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
components:
  schemas:
    AiVersionId:
      description: Version ID
      type: string
    AiScenarioId:
      type: string
      pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
      description: ID of the scenario
    AiLabelValue:
      type: string
      maxLength: 5000
    AiLabelList:
      type: array
      description: Arbitrary labels as meta information
      items:
        $ref: '#/components/schemas/AiLabel'
    AiLabel:
      type: object
      required:
      - key
      - value
      properties:
        key:
          $ref: '#/components/schemas/AiLabelKey'
        value:
          $ref: '#/components/schemas/AiLabelValue'
    AiExecutable:
      description: 'An ML executable consists of a set of ML tasks, flows between tasks, dependencies between tasks, models (or model versions?).

        '
      type: object
      required:
      - name
      - id
      - versionId
      - deployable
      - createdAt
      - modifiedAt
      properties:
        labels:
          $ref: '#/components/schemas/AiLabelList'
        name:
          type: string
          description: Name of the executable
        description:
          type: string
          description: Description of the executable
        id:
          $ref: '#/components/schemas/AiExecutableId'
        scenarioId:
          $ref: '#/components/schemas/AiScenarioId'
        versionId:
          $ref: '#/components/schemas/AiVersionId'
        parameters:
          $ref: '#/components/schemas/AiExecutableParameterList'
        inputArtifacts:
          $ref: '#/components/schemas/AiExecutableArtifactList'
        outputArtifacts:
          $ref: '#/components/schemas/AiExecutableArtifactList'
        deployable:
          type: boolean
          description: Whether this executable is deployable
          example: false
        createdAt:
          type: string
          description: Timestamp of resource creation
          format: date-time
        modifiedAt:
          type: string
          format: date-time
          description: Timestamp of latest resource modification
    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
    AiExecutableList:
      type: object
      properties:
        count:
          type: integer
          description: Number of the resource instances in the list
        resources:
          type: array
          items:
            $ref: '#/components/schemas/AiExecutable'
      required:
      - count
      - resources
    AiExecutableParameterList:
      type: array
      description: Executable parameters
      items:
        $ref: '#/components/schemas/AiExecutableParameter'
    AiExecutableArtifactList:
      type: array
      description: Executable parameters
      items:
        $ref: '#/components/schemas/AiExecutableArtifact'
    AiExecutableArtifact:
      type: object
      required:
      - name
      properties:
        name:
          type: string
          description: Name of the executable input artifacts
        kind:
          type: string
          description: Artifact kind (model, dataset, other)
        description:
          type: string
          description: Description of the signature argument
        labels:
          $ref: '#/components/schemas/AiLabelList'
    AiLabelKey:
      type: string
      example: ext.ai.sap.com/s4hana-version
      maxLength: 256
      pattern: ^ext\.ai\.sap\.com\/[\w\.-]+$
    AiExecutableId:
      type: string
      pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
      description: ID of the executable
    AiExecutableParameter:
      type: object
      required:
      - name
      properties:
        name:
          type: string
          description: Name of the executable parameter
        description:
          type: string
          description: Description of the signature argument
        default:
          type: string
          description: Default value of the signature argument
        type:
          type: string
          enum:
          - string
          description: Type of the executable parameter
  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'
  parameters:
    AiresourceGroupHeader:
      in: header
      name: AI-Resource-Group
      description: Specify a resource group id
      schema:
        type: string
      required: true
    AiversionIdQueryParam:
      name: versionId
      in: query
      required: false
      schema:
        type: string
      description: Version ID, if defined - returns the specified version
    AiexecutableId:
      name: executableId
      description: Executable identifier
      in: path
      required: true
      schema:
        type: string
        pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
    AiscenarioId:
      name: scenarioId
      description: Scenario identifier
      in: path
      required: true
      schema:
        type: string
        pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
  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.