SAP Business Technology Platform Service API
The Service API from SAP Business Technology Platform — 2 operation(s) for service.
The Service API from SAP Business Technology Platform — 2 operation(s) for service.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/sap-btp:sap-btp-service-api"
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.
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: 3.2.0
info:
title: Sap Btp Service API
version: 2.42.0
description: 'Operations tagged Service 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: Service
paths:
/admin/services:
get:
tags:
- Service
summary: Gets all services of a given main tenant
description: Retrieve a list of services for a given main tenant.
operationId: kubesubmit.v4.aiservices.get_all
parameters:
- $ref: '#/components/parameters/BckndtokenHeader'
responses:
'200':
description: A list of services
content:
application/json:
schema:
$ref: '#/components/schemas/BckndServiceList'
'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/services/{ServiceName}:
parameters:
- $ref: '#/components/parameters/BckndtokenHeader'
- $ref: '#/components/parameters/BckndServiceName'
get:
tags:
- Service
summary: Get a service
description: Get an service of a given main tenant.
operationId: kubesubmit.v4.aiservices.get
responses:
'200':
description: A service object
content:
application/json:
schema:
$ref: '#/components/schemas/BckndExtendedService'
'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:
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:
BckndtokenHeader:
name: Authorization
in: header
description: Authorization bearer token containing a JWT token.
required: false
schema:
type: string
BckndServiceName:
name: ServiceName
description: Name of the Service
in: path
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9\-_]+$
minLength: 1
maxLength: 32
example: cashapp
schemas:
BckndExtendedService:
type: object
properties:
name:
description: service name
type: string
description:
description: service description
type: string
url:
description: service broker url
type: string
brokerSecret:
$ref: '#/components/schemas/BckndServiceBrokerSecret'
capabilities:
$ref: '#/components/schemas/BckndServiceCapabilities'
serviceCatalog:
$ref: '#/components/schemas/BckndServiceServiceCatalog'
sharedResourceGroupStatus:
$ref: '#/components/schemas/BckndSharedResourceGroupStatus'
status:
description: aggregated status of the service
type: string
enum:
- PROVISIONED
- ERROR
- PROVISIONING
- DEPROVISIONING
statusMessage:
description: status message
type: string
BckndErrorResponse:
type: object
properties:
error:
$ref: '#/components/schemas/BckndError'
BckndService:
type: object
properties:
name:
description: service name
type: string
description:
description: service description
type: string
url:
description: service broker url
type: string
status:
description: aggregated status of the service
type: string
enum:
- PROVISIONED
- ERROR
- PROVISIONING
- DEPROVISIONING
statusMessage:
description: status message
type: string
BckndServiceServicePlanItem:
type: object
properties:
description:
description: description of the service plan
type: string
free:
description: if the service plan free
type: boolean
id:
description: id of the service plan
type: string
name:
description: name of the service plan
type: string
metadata:
$ref: '#/components/schemas/BckndServiceServicePlanItemMetadata'
BckndServiceServiceCatalogItemExtendCredentials:
type: object
properties:
shared:
type: object
properties:
serviceUrls:
type: object
properties:
AI_API_URL:
type: string
BckndServiceServiceCatalog:
type: array
items:
$ref: '#/components/schemas/BckndServiceServiceCatalogItem'
BckndSharedResourceGroupStatus:
type: object
properties:
isEnabled:
description: indicates whether shared resource group is enabled
type: boolean
id:
description: shared resource group id
type: string
state:
description: current state of shared resource group
type: string
BckndServiceBrokerSecret:
type: object
properties:
name:
description: broker secret name
type: string
passwordKeyRef:
description: username key reference in broker secret
type: string
usernameKeyRef:
description: password key reference in broker secret
type: string
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
BckndServiceCapabilities:
type: object
properties:
logs:
description: Capabilities to read logs from deployments and executions.
type: object
properties:
deployments:
type: boolean
executions:
type: boolean
basic:
description: Basic capabilities like creating deployments and executions.
type: object
properties:
staticDeployments:
description: There are static always running endpoints that can be used for inference without the need to do user deployments.
type: boolean
userDeployments:
description: Services that only support batch inference typically neither allow listing nor creation of deployments. For these, userDeployments == false
type: boolean
createExecutions:
description: Services that only support deployment typically neither allow create executions. For these, createExecutions == false
type: boolean
userPromptTemplates:
description: Services that only support create, read and delete of prompt templates
type: boolean
multitenant:
description: true-> AI API implementation supports resource groups (Main Tenant scenario), false-> implementation does not support resource groups (Service Tenant scenario)
type: boolean
BckndServiceList:
type: object
properties:
count:
type: integer
description: Number of the resource instances in the list
resources:
type: array
items:
$ref: '#/components/schemas/BckndService'
required:
- count
- resources
BckndServiceServicePlanItemMetadata:
type: object
properties:
supportedPlatforms:
description: supported platforms of the service plan
type: array
items:
type: string
enum:
- cloudfoundry
- kubernetes
- sapbtp
BckndServiceServiceCatalogItem:
type: object
properties:
extendCatalog:
$ref: '#/components/schemas/BckndServiceServiceCatalogItemExtendCatalog'
extendCredentials:
$ref: '#/components/schemas/BckndServiceServiceCatalogItemExtendCredentials'
BckndServiceServiceCatalogItemExtendCatalog:
type: object
properties:
bindable:
description: if the service is bindable
type: boolean
description:
description: description of the service
type: string
id:
description: id of the service
type: string
name:
description: name of the service
type: string
plans:
type: array
items:
$ref: '#/components/schemas/BckndServiceServicePlanItem'
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.