
SAP AI Core is a service in the SAP Business Technology Platform that is designed to handle the execution and operations of your AI assets in a standardized, scalable, and hyperscaler-agnostic way. It provides seamless integration with your SAP solutions. Any AI function can be easily realized using open-source frameworks. SAP AI Core supports full lifecycle management of AI scenarios.
If you need to debug the copied token to understand scopes, permissions ... you can paste the token in https://token.dev to understand better
Copy the deployment url from the above response and deployment id to make API calls .
Copy the below template to your Visual Studio Code and Install RestClient in your Extensions which will be faster way to play with
@serviceurl = https://api.ai.prod.eu-central-1.aws.ml.hana.ondemand.com/v2
@clientid =
@clientsecret =
@auth = https://XXXXXXXXXXX.authentication.eu12.hana.ondemand.com/oauth/token?grant_type=client_credentials
###
# login
GET {{auth}}/oauth/token?grant_type=client_credentials
Content-Type: application/json
Authorization: Basic {{clientid}}:{{clientsecret}}
@access_token = {{login.response.body.access_token}}
###
GET {{serviceurl}}/admin/resourceGroups
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/admin/services
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/lm/scenarios
Content-Type: application/json
Authorization: Bearer {{access_token}}
AI-Resource-Group: default
###
GET {{serviceurl}}/lm/healthz
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/admin/resourceQuota/resourceGroups
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/admin/resourceQuota/executables
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/admin/resourceQuota/applications
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/admin/resourceQuota/repositories
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/admin/resourceQuota/secrets
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/admin/resourceQuota/dockerRegistrySecrets
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/admin/applications
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/admin/repositories
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/admin/resources/nodes
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/analytics/kpis
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/lm/metrics
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/admin/dockerRegistrySecrets
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/lm/healthz
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/lm/artifacts
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/lm/artifacts/$count
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/lm/executions
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/lm/executions/$count
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/lm/deployments
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/lm/deployments/$count
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/lm/configurations
Content-Type: application/json
Authorization: Bearer {{access_token}}
###
GET {{serviceurl}}/lm/configurations/$count
Content-Type: application/json
Authorization: Bearer {{access_token}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
26 | |
22 | |
17 | |
11 | |
9 | |
8 | |
7 | |
7 | |
7 | |
6 |