SAP Business Technology Platform Execution Schedule API

Access to executionSchedules

GitHub OpenAPI

Operations 6

GET /lm/executionSchedules Get list of execution schedules #
POST /lm/executionSchedules Create execution schedule #
GET /lm/executionSchedules/{executionScheduleId} Get information about an execution schedule #
PATCH /lm/executionSchedules/{executionScheduleId} Update an execution schedule #
DELETE /lm/executionSchedules/{executionScheduleId} Delete execution schedule #
GET /lm/executionSchedules/$count Get number of execution schedules #

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-execution-schedule-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-execution-schedule-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sap Btp Execution Schedule API
  version: 2.42.0
  description: 'Operations tagged Execution Schedule 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: Execution Schedule
  description: Access to executionSchedules
paths:
  /lm/executionSchedules:
    parameters:
    - $ref: '#/components/parameters/AiresourceGroupHeader'
    get:
      tags:
      - Execution Schedule
      summary: Get list of execution schedules
      description: 'Retrieve a list of execution schedules that match the specified filter criteria.

        Filter criteria include executionScheduleStatus or a configurationId.

        With top/skip parameters it is possible to paginate the result list.'
      operationId: execution_schedule.query
      parameters:
      - $ref: '#/components/parameters/AiqueryConfigurationId'
      - $ref: '#/components/parameters/AiqueryExecutionScheduleStatus'
      - $ref: '#/components/parameters/Aitop'
      - $ref: '#/components/parameters/Aiskip'
      responses:
        '200':
          description: A list of execution schedules
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiExecutionScheduleList'
        '400':
          $ref: '#/components/responses/AiBadRequest'
    post:
      tags:
      - Execution Schedule
      summary: Create execution schedule
      description: Create an execution schedule using the configuration specified by configurationId, and schedule.
      operationId: execution_schedule.create
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiExecutionScheduleCreationData'
      responses:
        '202':
          description: The execution schedule has been created successfully
          headers:
            Location:
              description: URL of the execution schedule
              schema:
                $ref: '#/components/schemas/AiUrl'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiExecutionScheduleCreationResponse'
        '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/executionSchedules/{executionScheduleId}:
    parameters:
    - $ref: '#/components/parameters/AiresourceGroupHeader'
    - $ref: '#/components/parameters/AiexecutionScheduleId'
    get:
      tags:
      - Execution Schedule
      summary: Get information about an execution schedule
      description: Retrieve details for execution schedule with executionScheduleId.
      operationId: execution_schedule.get
      responses:
        '200':
          description: Information about the execution schedule
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiExecutionSchedule'
        '400':
          $ref: '#/components/responses/AiBadRequest'
        '404':
          $ref: '#/components/responses/AiNotFound'
    patch:
      tags:
      - Execution Schedule
      summary: Update an execution schedule
      description: Update details of an execution schedule
      operationId: execution_schedule.modify
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiExecutionScheduleModificationRequest'
      responses:
        '202':
          description: The execution schedule has been modified successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiExecutionScheduleModificationResponse'
        '400':
          $ref: '#/components/responses/AiBadRequest'
        '404':
          $ref: '#/components/responses/AiNotFound'
    delete:
      tags:
      - Execution Schedule
      summary: Delete execution schedule
      description: Delete the execution schedule with executionScheduleId.
      operationId: execution_schedule.delete
      responses:
        '202':
          description: The execution schedule has been deleted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiExecutionScheduleDeletionResponse'
        '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/executionSchedules/$count:
    get:
      tags:
      - Execution Schedule
      summary: Get number of execution schedules
      description: 'Retrieve the number of scheduled executions. The number can be filtered by

        configurationId or executionScheduleStatus.'
      operationId: execution_schedule.count
      parameters:
      - $ref: '#/components/parameters/AiresourceGroupHeader'
      - $ref: '#/components/parameters/AiqueryConfigurationId'
      - $ref: '#/components/parameters/AiqueryExecutionScheduleStatus'
      responses:
        '200':
          description: Number of execution schedules
          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:
  schemas:
    AiCron:
      type: string
      description: Cron defining the schedule to run the executions.
      example: 0 0 0 1 *
    AiExecutionScheduleModificationRequest:
      type: object
      description: Request object for changing the execution schedule
      properties:
        cron:
          $ref: '#/components/schemas/AiCron'
        start:
          type: string
          description: Timestamp, defining when the executions should start running periodically, defaults to now
          format: date-time
        end:
          type: string
          description: Timestamp, defining when the executions should stop running
          format: date-time
        configurationId:
          $ref: '#/components/schemas/AiConfigurationId'
        status:
          $ref: '#/components/schemas/AiExecutionScheduleStatus'
    AiUrl:
      type: string
      format: url
    AiExecutionScheduleModificationResponseMessage:
      type: string
      description: Message
      example: Execution Schedule modified
    AiExecutionScheduleId:
      type: string
      pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
      description: ID of the execution schedule
    AiExecutionScheduleDeletionResponseMessage:
      type: string
      description: Message
      example: Execution Schedule deleted
    AiExecutionScheduleStatus:
      type: string
      description: Execution Schedule Status
      enum:
      - ACTIVE
      - INACTIVE
      example: ACTIVE
    AiExecutionScheduleCreationResponse:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/AiId'
        message:
          $ref: '#/components/schemas/AiExecutionScheduleCreationResponseMessage'
      required:
      - id
      - message
    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
    AiExecutionSchedule:
      type: object
      description: Data about execution schedule
      required:
      - configurationId
      - cron
      - name
      - createdAt
      - modifiedAt
      properties:
        cron:
          $ref: '#/components/schemas/AiCron'
        name:
          maxLength: 256
          type: string
          description: Name of the execution schedule
        configurationId:
          $ref: '#/components/schemas/AiConfigurationId'
        start:
          type: string
          description: Timestamp, defining when the executions should start running periodically, defaults to now
          format: date-time
        end:
          type: string
          description: Timestamp, defining when the executions should stop running
          format: date-time
        id:
          $ref: '#/components/schemas/AiExecutionScheduleId'
        status:
          $ref: '#/components/schemas/AiExecutionScheduleStatus'
        createdAt:
          type: string
          description: Timestamp of resource creation
          format: date-time
        modifiedAt:
          type: string
          format: date-time
          description: Timestamp of latest resource modification
    AiExecutionScheduleCreationResponseMessage:
      type: string
      description: Message
      example: Execution Schedule created
    AiExecutionScheduleDeletionResponse:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/AiId'
        message:
          $ref: '#/components/schemas/AiExecutionScheduleDeletionResponseMessage'
      required:
      - id
      - message
    AiId:
      type: string
      pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
      description: Generic ID
    AiConfigurationId:
      type: string
      pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
      description: ID of the configuration
    AiExecutionScheduleModificationResponse:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/AiId'
        message:
          $ref: '#/components/schemas/AiExecutionScheduleModificationResponseMessage'
      required:
      - id
      - message
    AiExecutionScheduleCreationData:
      type: object
      description: Start and end an execution schedule.
      properties:
        cron:
          $ref: '#/components/schemas/AiCron'
        name:
          maxLength: 256
          type: string
          description: Name of the execution schedule
        configurationId:
          $ref: '#/components/schemas/AiConfigurationId'
        start:
          type: string
          description: Timestamp, defining when the executions should start running periodically, defaults to now
          format: date-time
        end:
          type: string
          description: Timestamp, defining when the executions should stop running
          format: date-time
      required:
      - configurationId
      - cron
      - name
    AiExecutionScheduleList:
      type: object
      properties:
        count:
          type: integer
          description: Number of the resource instances in the list
        resources:
          type: array
          items:
            $ref: '#/components/schemas/AiExecutionSchedule'
      required:
      - count
      - resources
  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:
    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
    AiqueryConfigurationId:
      name: configurationId
      description: Configuration identifier
      in: query
      required: false
      schema:
        type: string
        pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
    AiexecutionScheduleId:
      name: executionScheduleId
      description: Execution Schedule identifier
      in: path
      required: true
      schema:
        type: string
        pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
    AiqueryExecutionScheduleStatus:
      name: status
      description: Execution Schedule status
      in: query
      required: false
      schema:
        type: string
        enum:
        - ACTIVE
        - INACTIVE
      example: ACTIVE
    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
  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.