SAP Business Technology Platform Application API

The Application API from SAP Business Technology Platform — 4 operation(s) for application.

GitHub OpenAPI

Operations 7

POST /admin/applications Create an application #
GET /admin/applications Return all applications #
GET /admin/applications/{applicationName}/status Returns the ArgoCD application status #
PATCH /admin/applications/{applicationName} Update the ArgoCD application #
GET /admin/applications/{applicationName} Get ArgoCD application #
DELETE /admin/applications/{applicationName} Delete application #
POST /admin/applications/{applicationName}/refresh Makes ArgoDC refresh the specified application #

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-application-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-application-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sap Btp Application API
  version: 2.42.0
  description: 'Operations tagged Application 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: Application
paths:
  /admin/applications:
    post:
      tags:
      - Application
      summary: Create an application
      description: Create an ArgoCD application to synchronise a repository.
      operationId: kubesubmit.v4.applications.create
      parameters:
      - $ref: '#/components/parameters/BckndtokenHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/BckndArgoCDApplicationDataRequest'
              - $ref: '#/components/schemas/BckndArgoCDApplicationDataRepoName'
      responses:
        '200':
          description: The ArgoCD application has been created and will be eventually synchronised with the repository.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndArgoCDApplicationCreationResponse'
        '400':
          $ref: '#/components/responses/BckndBadRequest'
        default:
          $ref: '#/components/responses/BckndCommonError'
    get:
      tags:
      - Application
      summary: Return all applications
      description: Return all Argo CD application data objects.
      operationId: kubesubmit.v4.applications.get_all
      parameters:
      - $ref: '#/components/parameters/BckndtokenHeader'
      - $ref: '#/components/parameters/Bckndtop'
      - $ref: '#/components/parameters/Bckndskip'
      - $ref: '#/components/parameters/Bckndcount'
      responses:
        '200':
          description: All applications have been found and returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndAllArgoCDApplicationData'
        '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/applications/{applicationName}/status:
    parameters:
    - $ref: '#/components/parameters/BckndapplicationName'
    - $ref: '#/components/parameters/BckndtokenHeader'
    get:
      tags:
      - Application
      summary: Returns the ArgoCD application status
      description: Returns the ArgoCD application health and sync status.
      operationId: kubesubmit.v4.applications.get_status
      responses:
        '200':
          description: The application status has been found and returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndArgoCDApplicationStatus'
        '400':
          $ref: '#/components/responses/BckndBadRequest'
        '404':
          $ref: '#/components/responses/BckndNotFound'
        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/applications/{applicationName}:
    parameters:
    - $ref: '#/components/parameters/BckndapplicationName'
    - $ref: '#/components/parameters/BckndtokenHeader'
    patch:
      tags:
      - Application
      summary: Update the ArgoCD application
      description: Update the referenced ArgoCD application to synchronize the repository.
      operationId: kubesubmit.v4.applications.update
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BckndArgoCDApplicationBaseData'
      responses:
        '200':
          description: The ArgoCD application has been created and will be eventually synchronised with the repository.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndArgoCDApplicationModificationResponse'
        '404':
          $ref: '#/components/responses/BckndNotFound'
        '400':
          $ref: '#/components/responses/BckndBadRequest'
        default:
          $ref: '#/components/responses/BckndCommonError'
    get:
      tags:
      - Application
      summary: Get ArgoCD application
      description: Retrieve the ArgoCD application details.
      operationId: kubesubmit.v4.applications.get
      responses:
        '200':
          description: The application has been found and returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndArgoCDApplicationDataResponse'
        '400':
          $ref: '#/components/responses/BckndBadRequest'
        '404':
          $ref: '#/components/responses/BckndNotFound'
        default:
          $ref: '#/components/responses/BckndCommonError'
    delete:
      tags:
      - Application
      summary: Delete application
      description: Delete an ArgoCD application
      operationId: kubesubmit.v4.applications.delete
      responses:
        '200':
          description: The argoCD application has been deleted successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndArgoCDApplicationDeletionResponse'
        '404':
          $ref: '#/components/responses/BckndNotFound'
        '400':
          description: The request was malformed and could thus not be processed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndErrorResponse'
        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/applications/{applicationName}/refresh:
    parameters:
    - $ref: '#/components/parameters/BckndapplicationName'
    - $ref: '#/components/parameters/BckndtokenHeader'
    post:
      tags:
      - Application
      summary: Makes ArgoDC refresh the specified application
      description: Schedules a refresh of the specified application that will be picked up by ArgoCD asynchronously
      operationId: kubesubmit.v4.applications.refresh
      responses:
        '202':
          description: A refresh of the application has been scheduled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndArgoCDApplicationRefreshResponse'
        '400':
          $ref: '#/components/responses/BckndBadRequest'
        '404':
          $ref: '#/components/responses/BckndNotFound'
        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:
    BckndArgoCDApplicationDeletionResponseMessage:
      type: string
      description: Message
      example: ArgoCD application has been deleted
    BckndArgoCDApplicationCreationResponse:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/BckndId'
        message:
          $ref: '#/components/schemas/BckndArgoCDApplicationCreationResponseMessage'
      required:
      - id
      - message
    BckndArgoCDApplicationModificationResponse:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/BckndId'
        message:
          $ref: '#/components/schemas/BckndArgoCDApplicationModificationResponseMessage'
      required:
      - id
      - message
    BckndAllArgoCDApplicationData:
      description: list of applications
      type: object
      properties:
        count:
          type: integer
          description: Number of the resource instances in the list
        resources:
          type: array
          items:
            $ref: '#/components/schemas/BckndArgoCDApplicationDataResponse'
      required:
      - count
      - resources
    BckndErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/BckndError'
    BckndArgoCDApplicationStatus:
      type: object
      description: ArgoCD application definition and status
      properties:
        healthStatus:
          description: ArgoCD application health status
          type: string
        syncStatus:
          description: ArgoCD application sync status
          type: string
        message:
          description: ArgoCD application health status message
          type: string
        source:
          description: Information about the ArgoCD application itself
          type: object
          properties:
            repoURL:
              description: URL of the repository
              type: string
            path:
              description: Path of the repository
              type: string
            revision:
              description: Revision number of the ArgoCD application
              type: string
        syncFinishedAt:
          description: Gets the timestamp information related to the sync state of the ArgoCD application
          type: string
        syncStartedAt:
          description: Get timestamp information related to the sync state of the ArgoCD application
          type: string
        reconciledAt:
          description: Get timestamp information related to the sync state of the ArgoCD application
          type: string
        syncResourcesStatus:
          description: Status of all resources that need to be synchronized with the gitops repo
          type: array
          items:
            type: object
            properties:
              name:
                description: ArgoCD application object name
                type: string
              kind:
                description: ArgoCD application object kind
                type: string
              status:
                description: ArgoCD application object sync status
                type: string
              message:
                description: ArgoCD application object message
                type: string
        syncRessourcesStatus:
          deprecated: true
          description: Status of all resources that need to be synchronized with the gitops repo. Misspelled and deprecated, use syncResourcesStatus instead.
          type: array
          items:
            type: object
            properties:
              name:
                description: ArgoCD application object name
                type: string
              kind:
                description: ArgoCD application object kind
                type: string
              status:
                description: ArgoCD application object sync status
                type: string
              message:
                description: ArgoCD application object message
                type: string
    BckndArgoCDApplicationDataResponse:
      type: object
      properties:
        repositoryUrl:
          description: URL of the repository to synchronise
          type: string
        revision:
          description: revision to synchronise
          type: string
        path:
          description: path within the repository to synchronise
          type: string
        applicationName:
          description: ArgoCD application name in the response body
          type: string
          minLength: 3
          maxLength: 63
          pattern: ^[a-z0-9\-]+$
      required:
      - repositoryUrl
      - revision
      - path
    BckndId:
      type: string
      pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
      description: Generic ID
    BckndArgoCDApplicationDataRepoName:
      type: object
      required:
      - repositoryName
      - revision
      - path
      properties:
        repositoryName:
          description: Name of the repository to synchronise
          type: string
        revision:
          description: revision to synchronise
          type: string
        path:
          description: path within the repository to synchronise
          type: string
        applicationName:
          description: ArgoCD application name in the request body
          type: string
          minLength: 3
          maxLength: 54
          pattern: ^[a-z0-9\-]+$
    BckndArgoCDApplicationBaseData:
      type: object
      required:
      - repositoryUrl
      - revision
      - path
      properties:
        repositoryUrl:
          description: URL of the repository to synchronise
          type: string
        revision:
          description: revision to synchronise
          type: string
        path:
          description: path within the repository to synchronise
          type: string
    BckndArgoCDApplicationModificationResponseMessage:
      type: string
      description: Message
      example: ArgoCD application has been updated
    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
    BckndArgoCDApplicationRefreshResponseMessage:
      type: string
      description: Message
      example: Refresh of ArgoCD application has been scheduled
    BckndArgoCDApplicationRefreshResponse:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/BckndId'
        message:
          $ref: '#/components/schemas/BckndArgoCDApplicationRefreshResponseMessage'
      required:
      - id
      - message
    BckndArgoCDApplicationDataRequest:
      type: object
      properties:
        repositoryUrl:
          description: URL of the repository to synchronise
          type: string
        revision:
          description: revision to synchronise
          type: string
        path:
          description: path within the repository to synchronise
          type: string
        applicationName:
          description: ArgoCD application name in the request body
          type: string
          minLength: 3
          maxLength: 54
          pattern: ^[a-z0-9\-]+$
      required:
      - repositoryUrl
      - revision
      - path
    BckndArgoCDApplicationDeletionResponse:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/BckndId'
        message:
          $ref: '#/components/schemas/BckndArgoCDApplicationDeletionResponseMessage'
      required:
      - id
      - message
    BckndArgoCDApplicationCreationResponseMessage:
      type: string
      description: Message
      example: ArgoCD application has been created
  responses:
    BckndNotFound:
      description: The specified resource was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BckndErrorResponse'
    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:
    BckndapplicationName:
      name: applicationName
      description: Name of the ArgoCD application
      in: path
      required: true
      schema:
        type: string
        minLength: 3
        maxLength: 63
        pattern: ^[a-z0-9\-]+$
      example: tenant-application
    BckndtokenHeader:
      name: Authorization
      in: header
      description: Authorization bearer token containing a JWT token.
      required: false
      schema:
        type: string
    Bckndcount:
      name: $count
      description: When the $count field is set to false, the response contains a count of the items present in the response. When the $count field is set to true, the response contains a count of all the items present on the server, and not just the ones in the response. When the $count field is not passed, it is false by default.
      in: query
      required: false
      schema:
        type: boolean
      example: true
    Bckndtop:
      name: $top
      description: Number of results to display
      in: query
      required: false
      schema:
        type: integer
        minimum: 0
      example: 10
    Bckndskip:
      name: $skip
      description: Number of results to be skipped from the ordered list of results
      in: query
      required: false
      schema:
        type: integer
        minimum: 0
      example: 10
  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.